Skip to main content

cmp

Function cmp 

Source
pub fn cmp(a_coef: &str, a_scale: u32, b_coef: &str, b_scale: u32) -> Ordering
Expand description

The numeric order of two decimals, ignoring how each is scaled (1.20 == 1.2).