Permalink
Browse files

Update Format.cs

  • Loading branch information...
1 parent 5ddc9e8 commit ab940890e66d77c7cf188297c327759fe025e61b @saleyn committed Jan 3, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Otp/Erlang/Format.cs
View
@@ -386,7 +386,7 @@ private static string pquotedAtom(char[] fmt, ref int pos)
} else if (char.IsDigit(c) || c == '-') { /* integer/float ? */
string s = pdigit(fmt, ref pos);
if (s.IndexOf('.') < 0)
- result = new Erlang.Long(long.Parse(s));
+ result = new Erlang.Long(long.Parse(s, CultureInfo.InvariantCulture));
else
result = new Erlang.Double(double.Parse(s, CultureInfo.InvariantCulture));
} else if (c == '"') { /* string ? */

0 comments on commit ab94089

Please sign in to comment.