Skip to main content

fixed

Function fixed 

Source
fn fixed(digits: &[u8], e: i32, frac: Option<usize>) -> String
Expand description

d₁.d₂… × 10ᵉ in fixed notation, with exactly frac digits after the point when given (the digits were rounded to fit).