[−][src]Crate ryu_floating_decimal
This crate copies the internals of the ryu rust crate, exposing some useful functions and types for more flexible float printing.
This crate exposes the functions d2d
and f2d
, which convert from f64
to FloatingDecimal64
and f32
to FloatingDecimal32
respectively. These floating decimals can be converted to strings in a custom way.
Structs
FloatingDecimal32 | A floating decimal representing mantissa * 10^exponent |
FloatingDecimal64 | A floating decimal representing mantissa * 10^exponent |
Functions
d2d | Convert an |
f2d | Convert an |