#decimal #num #rounding #fair #num-rational

num-decimal

Infinite precision decimals with fair rounding and other gimmicks based on num-rational

8 releases

0.2.5 Feb 23, 2022
0.2.4 May 14, 2021
0.2.3 Feb 24, 2021
0.2.2 Jul 4, 2020
0.0.0 May 19, 2019

#1 in #rounding

Download history 31/week @ 2022-08-20 15/week @ 2022-08-27 34/week @ 2022-09-03 37/week @ 2022-09-10 21/week @ 2022-09-17 39/week @ 2022-09-24 45/week @ 2022-10-01 21/week @ 2022-10-08 18/week @ 2022-10-15 37/week @ 2022-10-22 39/week @ 2022-10-29 165/week @ 2022-11-05 42/week @ 2022-11-12 99/week @ 2022-11-19 34/week @ 2022-11-26 24/week @ 2022-12-03

209 downloads per month
Used in 5 crates

GPL-3.0-or-later

30KB
746 lines

pipeline coverage crates.io Docs rustc

num-decimal

A crate providing infinite precision decimals with fair rounding and other gimmicks based on num-rational.


lib.rs:

A crate containing a number type suitable for use in financial contexts.

Dependencies

~100–310KB