This project is read-only.
1
Vote

Silverlight app fails when converting float to string

description

Hello, I have discovered that the silverlight application fails when converting float values to string. This is due to the different culture (I'm in Italy), so when a float number is converted to string a comma is used as decimal separator. To correct5 it, simply add
 
        System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
 
to the Application_StartUp method.
Cheers,
 
Fabrizio

comments