Permalink
Browse files

Update number separators for mexican and similar locales. Fixes #8084

  • Loading branch information...
1 parent 0b62a13 commit 888e9acdbb5360c9522a032e67b62ae13e65f1c3 @marek-safar marek-safar committed Mar 26, 2013
Showing with 61 additions and 30 deletions.
  1. +7 −0 mcs/class/corlib/Test/System/DecimalTest.cs
  2. +29 −29 mono/metadata/culture-info-tables.h
  3. +25 −1 tools/locale-builder/Driver.cs
@@ -1129,6 +1129,13 @@ public void ParseEmptyNumberGroupSeparator ()
}
}
*/
+
+ [Test]
+ public void ParseCultureSeparator ()
+ {
+ Assert.AreEqual (2.2m, decimal.Parse ("2.2", new CultureInfo("es-MX")));
+ }
+
[Test]
[Category ("TargetJvmNotWorking")]
public void TryParse ()
Oops, something went wrong.

0 comments on commit 888e9ac

Please sign in to comment.