https://bugzilla.novell.com/show_bug.cgi?id=398274

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=398274#c4





--- Comment #4 from Andy Hume <[EMAIL PROTECTED]>  2008-06-10 02:19:24 MDT ---
Created an attachment (id=221172)
 --> (https://bugzilla.novell.com/attachment.cgi?id=221172)
Patch to tests and implementation

I had left two bugs marked NotWorking, one by mistake.  When enabled it shows
that when the current thread culture is one with comma decimal point, then bad
values are used.  Since float.Parse("12.5") in de-DE gives 125 -- dot is
thousands separator!

Patch attached.  Changes all float ToString/TryParse to use InvariantCulture. 
That's correct since creating XML content.

Test patch enables tests and expects new behaviour.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to