fixed_decimal
fixed_decimal
is a utility crate of the ICU4X
project.
It includes [FixedDecimal
], a core API for representing numbers in a human-readable form
appropriate for formatting and plural rule selection. It is optimized for operations involving
the individual digits of a number.
Examples
use FixedDecimal;
let dec = from.multiplied_pow10;
assert_eq!;
;
let digits: = dec
.magnitude_range
.map
.collect;
assert_eq!;
More Information
For more information on development, authorship, contributing etc. please visit ICU4X home page
.