How to fix an application that has a problem with decimal separator

后端 未结 5 2079
有刺的猬
有刺的猬 2020-12-10 15:46

This post is about C# and .Net, but some info is valuable for other techonolgies.

Since I can remember, I\'ve been having problems with apps or games that c

5条回答
  •  眼角桃花
    2020-12-10 16:22

    Properly set Thread.CurrentThread.CurrentCulture and you wont have such problems. Read here how to write culture independent code.

    EDIT: If you do not have access to the code, you can run the application under a user account which has the expected culture set. For quick access you could create an english user, a german user, a french user..

提交回复
热议问题