Vladimir Gajic

Vladimir Gajic

  • NA
  • 57
  • 12.3k

Culture Problem in C# Application

Sep 12 2013 3:59 AM
Hello @all

I'm working on an C#-application witch evaluates spectral values of light sources comparing them to knowns standards. Everything works fine so far as long as the operating system is set to a particular language (e.g. English-US). That means that all decimal numbers are represented using a dot. However, when I change the language-setting to a different language (in my case German), the application calculates rubbish. The cause is clear - the decimal point becomes a colon. That means that I have to change/modify the application culture in a way that the program operates normally at any language-setting.

Since I'm quite fresh in C# I don't really have an idea where to start so that any advices would be a great help.

Thanks in advance
Vladimir  

Answers (3)