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
When a Quantity is converted to String on locales that use comma as a decimal separator (such as russian or french), the number is displayed differently depending on whether it's close to a whole number or not. For example, 0.0 is displayed as 0,0 units and 0.5 as 0.5 units. This is caused by the code in squants.Platform, which uses both locale-dependent format and locale-independent toString.
The text was updated successfully, but these errors were encountered:
When a
Quantity
is converted toString
on locales that use comma as a decimal separator (such as russian or french), the number is displayed differently depending on whether it's close to a whole number or not. For example,0.0
is displayed as0,0 units
and0.5
as0.5 units
. This is caused by the code insquants.Platform
, which uses both locale-dependentformat
and locale-independenttoString
.The text was updated successfully, but these errors were encountered: