Crates.io | rational_extensions |
lib.rs | rational_extensions |
version | 0.4.1 |
source | src |
created_at | 2023-01-28 03:45:36.533182 |
updated_at | 2023-09-13 17:47:20.423613 |
description | Extensions for rational numbers. |
homepage | |
repository | https://git.philomathiclife.com/repos/rational_extensions/ |
max_upload_size | |
id | 770143 |
size | 30,559 |
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.