pub fn parse_amount(text: &str) -> Result<(i64, i64), AmountError>
Parses an amount into a reduced (numerator, denominator); the denominator is positive and the numerator is never i64::MIN.
(numerator, denominator)
i64::MIN