https://bugzilla.novell.com/show_bug.cgi?id=666515
https://bugzilla.novell.com/show_bug.cgi?id=666515#c0 Summary: Double Parse and TryParse ignores regional settings under Mono Classification: Mono Product: Mono: Runtime Version: 2.8.x Platform: Other OS/Version: Windows 7 Status: NEW Severity: Critical Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: Community User Blocker: Yes Description of Problem: Double methods Parse and TryParse ignores current system culture (regional settings) under Mono 2.8.1 and works fine under Microsoft.Net Steps to reproduce the problem: 1. Example code .. string strVal = "5,00"; double result = double.Parse(strVal); .. 2. Run it under Mono and .Net Actual Results: Under .Net result == 5,00 Under Mono result == 500 Expected Results: Under .Net result == 5,00 Under Mono result == 5,00 How often does this happen? Everytime. Additional Information: Windows 7 64 bit Regional settings - Russian Decimal separator - , -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
