Skip to main content

py_float

Function py_float 

Source
pub fn py_float(x: f64, digits: i32) -> String
Expand description

Same shape as Python round(x, n) followed by repr (.0 for integers).