style::str

Function read_fraction

Source
pub fn read_fraction<I: Iterator<Item = char>>(
    iter: Peekable<I>,
    divisor: f64,
    value: f64,
) -> (f64, usize)
Expand description

Read a decimal fraction.