mirror of
https://github.com/rm-dr/daisy
synced 2025-07-05 01:59:30 -07:00
Reorganized quantities
This commit is contained in:
@ -81,7 +81,7 @@ impl PreToken {
|
||||
s.insert(0, '0');
|
||||
}
|
||||
|
||||
let r = Quantity::new_rational_from_float_string(&s);
|
||||
let r = Quantity::new_rational_from_string(&s);
|
||||
if r.is_none() {
|
||||
return Err((l, ParserError::BadNumber))
|
||||
}
|
||||
|
Reference in New Issue
Block a user