Skip to main content

reset_today

Function reset_today 

Source
pub fn reset_today(agent: &str, now_ms: i64) -> f64
Expand description

Zeroes the agent’s day (a spend that was wrong): its rows are removed, here and in the store. Returns the dollars that were counted.