Skip to main content

float_repr

Function float_repr 

Source
pub fn float_repr(f: f64) -> String
Expand description

repr(float): shortest round-trip digits, fixed notation when the decimal exponent is in -4..16, otherwise d.ddde±XX with a two-digit minimum exponent. Integral values keep a .0.