Reorganized quantities

This commit is contained in:
2023-04-07 18:11:20 -07:00
parent 4dba794712
commit e4667eb998
7 changed files with 605 additions and 355 deletions

View File

@ -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))
}