Function money
pub fn money(micros: u64) -> StringExpand description
An amount in millionths of the currency: $5, $0.42, $1,250. See
Formats::money.
use tilo_ui::format::money;
assert_eq!(money(5_000_000), "$5");
assert_eq!(money(420_000), "$0.42");