Skip to content

Conversation

@SpoonOfDoom
Copy link
Contributor

In cultures with ',' as the decimal seperator, Decimal.Parse parses "0.68" as 68 instead of 0.68 if you do it without specifying the culture, which made ratioavg take some really silly values.

Solves #121.

In cultures with ',' as the decimal seperator, Decimal.Parse parses "0.68" as 68 instead of 0.68 if you do it without specifying the culture, which made ratioavg take some really silly values
@Iridium-IO
Copy link
Member

Ah of course, it's capturing the ratio from the database as a string, which causes the issue on type conversion :)

Thanks, I'll push this when I'm at my computer in the morning

@Iridium-IO Iridium-IO merged commit 496e547 into IridiumIO:master Nov 3, 2017
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

Successfully merging this pull request may close these issues.

2 participants