Skip to main content

Module fmt

Module fmt 

Source
Available on crate feature raster only.
Expand description

Deterministic float formatter — copied verbatim from viz/svg.rs:109-117 (private there) so golden fixtures across raster/ share the exact same byte-exact float→text contract. Do NOT alter the algorithm.

Functions§

fmt6
Deterministic fixed-precision formatting (6 decimals, trailing zeros trimmed, -0 normalised to 0).