Skip to main content

calculate_change

Function calculate_change 

Source
pub fn calculate_change(current: i64, previous: i64) -> Option<f64>
Expand description

Percentage change from previous to current; None when the previous period had no data.