Function parse_rate

Source
fn parse_rate(s: &str) -> f64
Expand description

“30000/1001” -> 29.97; “0/0” / garbage -> 0.