We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7398448 commit b1a2f14Copy full SHA for b1a2f14
UnitsNet/QuantityValue.cs
@@ -270,8 +270,8 @@ public int CompareTo(object obj)
270
public override string ToString()
271
=> Type switch
272
{
273
- UnderlyingDataType.Decimal => _decimalValue.ToString(),
274
- UnderlyingDataType.Double => _doubleValue.ToString(),
+ UnderlyingDataType.Decimal => _decimalValue.ToString(CultureInfo.CurrentCulture),
+ UnderlyingDataType.Double => _doubleValue.ToString(CultureInfo.CurrentCulture),
275
_ => throw new NotImplementedException()
276
};
277
0 commit comments