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 aee0157 commit aebc699Copy full SHA for aebc699
RestSharp.Tests/JsonTests.cs
@@ -37,7 +37,7 @@ public void Can_Deserialize_Exponential_Notation()
37
const string content = "{ \"Value\": 4.8e-04 }";
38
var json = new JsonDeserializer();
39
var output = json.Deserialize<DecimalNumber>(new RestResponse { Content = content });
40
- var expected = Decimal.Parse("4.8e-04", NumberStyles.Float);
+ var expected = Decimal.Parse("4.8e-04", NumberStyles.Float, CultureInfo.InvariantCulture);
41
42
Assert.NotNull(output);
43
Assert.Equal(expected, output.Value);
0 commit comments