https://bugs.winehq.org/show_bug.cgi?id=46842
--- Comment #5 from IanS MyBugzilla@mailinator.com --- On Windows I get the same output as you. But on my Wine/Linux box I get
// '1,643.57' --> 1643.57 // Unable to parse '$1,643.57'. // '-1.643e6' --> -1643000 // '-168934617882109132' --> -1.68934617882109E+17 // Unable to parse '123AE6'. // Unable to parse ''. // '' --> // Weird // // Unable to parse 'ABCDEF'.
Something really strange going on. '' --> shows that it parsed successfully but the number is missing.
But. Strangely, even though the number is missing it's possible to do something like:
if(number > 5002) MessageBox.Show("number is bigger than 5002")
Actually comparing the double with 5002 in my app is where I notice the glitch in the first place. Even though the double appears to be empty it still has a value bigger than 5002. I wonder how bit it is?