Skip to main content

format_float

Function format_float 

Source
pub(crate) fn format_float(v: f64) -> String
Expand description

Format a single float as a string, adding a trailing . when the value has no fractional part (matching NumPy’s display convention).