Skip to main content

write_fixed

Function write_fixed 

Source
fn write_fixed(f: &mut Formatter<'_>, x: f64, p: usize, dir: Dir) -> Result
Expand description

Steps D2 and D3 for {:.p}: x with p fractional digits, rounded in the direction dir.