Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 20018a9

Browse files
committed
Use invariant decimal separator for NumberFormatString
1 parent dabf92a commit 20018a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/Utility/ParseUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static class ParseUtility
2020
// Helper for formatting float/double/decimal numbers to maximum of 4 decimal points.
2121
// And also for formatting a sequence of those numbers, ie a Vector3, Color etc
2222

23-
public static readonly string NumberFormatString = $"0{CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator}####";
23+
public static readonly string NumberFormatString = $"0.####";
2424
private static readonly Dictionary<int, string> numSequenceStrings = new Dictionary<int, string>();
2525

2626
public static string FormatDecimalSequence(params object[] numbers)

0 commit comments

Comments
 (0)