7 releases

0.0.7 Jan 16, 2022
0.0.6 Aug 19, 2020
0.0.5 Jun 24, 2020

#46 in Value formatting

43 downloads per month
Used in bankroll

GPL-3.0 license

56KB
2K SLoC

monee Latest Version Docs Conduct svg

Rust Money parser

A library that handles parsing and display money.

Usage


money!("20", "USD");                            // 20.00

Formatting


let money = money!("20.00", "USD");
format!("{: >1}", money);                       // $ 20.00

Dependencies