overiding NumberFormat in .net application cultureInfo -


I have one in many different languages. NET application is available. I originally loads the file in system culture (containing doubles), but I always apply the numbers and implement the US culture format (using commas as a comma, using duration as the decimal separator) Want to do I tried to override the culture culture but it does not seem to work, is there any way to deal with this?

culture end information. The specific purpose of continuing the data in a continuous format

For the UI, if you really want to consider all formatting as US-style, you can:

  Application.CurrentCulture = new CultureInfo ("en-US");  

Note that you will need to set up Culture at each thread.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -