varunsrin / rusty_money

Money library for Rust
MIT License
86 stars 32 forks source link

Implement multiple/division with decimals #32

Closed sjoerdsimons closed 4 years ago

sjoerdsimons commented 4 years ago

Sometimes it's useful to multiply amounts by non-integer values; Given Money already uses decimal internally allow it to be multiplied/divided by decimals as well which should suitable for this.

Signed-off-by: Sjoerd Simons sjoerd@luon.net

varunsrin commented 4 years ago

Thank you for putting this together, I'm supportive of adding this feature.