You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently tried to use js-quantities to parse values produced by UnitsNet which formats units according to the user's locale. On my machine, the grouping separator is the comma , at every 3 digits. This means that the following values are all valid values: 4 kg, 4.5 kg, 450.5 kg, and 4,500.5 kg.
js-quantities does not seam to support grouping separators, so Qty.parse('4,500 kg') returns null.
My locale is en-CA.
The text was updated successfully, but these errors were encountered:
I've recently tried to use js-quantities to parse values produced by UnitsNet which formats units according to the user's locale. On my machine, the grouping separator is the comma
,
at every 3 digits. This means that the following values are all valid values:4 kg
,4.5 kg
,450.5 kg
, and4,500.5 kg
.js-quantities does not seam to support grouping separators, so
Qty.parse('4,500 kg')
returns null.My locale is en-CA.
The text was updated successfully, but these errors were encountered: