varunsrin / rusty_money

Money library for Rust
MIT License
88 stars 33 forks source link

Format Money with exactly n minor digits #59

Open robinkrahl opened 3 years ago

robinkrahl commented 3 years ago

Currently, Formatter::money does not include trailing zeros even if this results in less than params.rounding minor digits. Is this intentional? If it is, I would appreciate an option to format a Money instance with exactly n minor digits (instead of up to n).