Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can_Deserialize_Exponential_Notation test fails #671

Closed
mylemans opened this issue Apr 8, 2015 · 0 comments
Closed

Can_Deserialize_Exponential_Notation test fails #671

mylemans opened this issue Apr 8, 2015 · 0 comments

Comments

@mylemans
Copy link

mylemans commented Apr 8, 2015

The test Can_Deserialize_Exponential_Notation to run for me (invalid format exception)

I solved it by changing

var expected = Decimal.Parse("4.8e-04", NumberStyles.Float);

into

var expected = Decimal.Parse("4.8e-04", NumberStyles.Float_, CultureInfo.InvariantCulture_);

@hallem hallem closed this as completed in aebc699 Apr 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant