Skip to main content

py_format_fixed

Function py_format_fixed 

Source
pub fn py_format_fixed(x: f64, nd: usize) -> String
Expand description

Python f"{x:.<nd>f}" for an arbitrary decimal count (eval’s .3f, .6f, and .0f report/gate formats).