Skip to main content

py_format_1f

Function py_format_1f 

Source
pub fn py_format_1f(x: f64) -> String
Expand description

Python f"{x:.1f}" — one fixed decimal, round-half-to-even on the exact binary value.