Expand description
A double-to-string conversion algorithm based on Schubfach and yy.
This Rust implementation is a line-by-line port of Victor Zverovich’s implementation in C++, https://github.com/vitaut/zmij.
§Example
fn main() {
let mut buffer = zmij::Buffer::new();
let printed = buffer.format(1.234);
assert_eq!(printed, "1.234");
}§Performance (lower is better)

Structs§
- Buffer
- Safe API for formatting floating point numbers to text.
Traits§
- Float
- A floating point number, f32 or f64, that can be written into a
zmij::Buffer.