How to change the comma to decimal?

  • Thread starter Thread starter jerrylinkinpark12345
  • Start date Start date
J

jerrylinkinpark12345

Guest
Hi everyone,

i am in Germany writing a C++ program in English. There are some number calculation within the program which should be in English environment.

However, it seems Visual C++ has recognize my Windows system language is German. So it changes my every input from e.g., 2.2 to 2,2. And giving funny results like 2,2+2,2 = 4400. I used some "system::convert::ToDouble/ToString" stuff for showing the results and for doing the calculation.

So, is there a way to solve this out??

Thanks you in advance!!

Continue reading...
 
Back
Top