rational_extensions 0.4.1

Extensions for rational numbers.
Documentation
1
2
3
4
5
6
7
8
rational_extensions
--------
rational_extensions is a library that extends `num_rational::Ratio<T>`
such that strings in decimal notation can be converted into such an
instance. One can furthermore control the minimum and maximum number of
fractional digits allowed. It also allows one to convert a `Ratio<T>`
into a decimal `String` controlling how many fractional digits should be
used.