Home
last modified time | relevance | path

Searched refs:integer (Results 1 – 1 of 1) sorted by relevance

/DragonReach/src/parse/parse_util/
H A Dmod.rs180 let (integer, fraction) = match number_str.find(".") { in parse_size()
182 let (integer, fraction) = number_str.split_at(mid); in parse_size()
183 let integer = integer.parse::<u64>().unwrap(); in parse_size() localVariable
190 (integer, fraction) in parse_size()
213 Ok(integer * factor + (fraction * factor) / (10u64.pow(fraction.to_string().len() as u32))) in parse_size()
583 let integer: u64; in parse_sec() localVariable
590 integer = match s[..idx].parse::<u64>() { in parse_sec()
634 integer = match s[..idx].parse::<u64>() { in parse_sec()
647 integer = match s.parse::<u64>() { in parse_sec()
671 ret += integer * factor + (frac * factor) / (10u64.pow(frac.to_string().len() as u32)); in parse_sec()