Skip to content

Commit ef89885

Browse files
committed
Using CultureInfo.InvariantCulture when converting GlobalSettings margins to string
1 parent 151ab85 commit ef89885

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Pechkin/GlobalSettings.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Globalization;
23

34
namespace TuesPechkin
45
{
@@ -227,7 +228,7 @@ private string GetMarginValue(double value)
227228
break;
228229
}
229230

230-
return String.Format("{0}{1}", value.ToString("0.##"), strUnit);
231+
return String.Format("{0}{1}", value.ToString("0.##", CultureInfo.InvariantCulture), strUnit);
231232
}
232233
}
233234
}

0 commit comments

Comments
 (0)