Function parse_amount_parts

Source
pub fn parse_amount_parts(
    quantity: &str,
    commodity: &str,
    journal: &mut Journal,
) -> Option<Amount>
Expand description

Parse amount parts (quantity, commodity), i.e. “25”, “AUD”. Returns Amount. Panics if parsing fails.