Skip to main content

parse_amount

Function parse_amount 

Source
pub fn parse_amount(text: &str) -> Result<(i64, i64), AmountError>
Expand description

Parses an amount into a reduced (numerator, denominator); the denominator is positive and the numerator is never i64::MIN.