Decimal separator: how to know which one ('.' or ',') in an application
Posted on 1997-04-08
My application is developped in PowerBuilder v5 and run on Win95 and WinNT.
Problem: must know the decimal separator the user has setted on his machine. Sometimes, the language is "French Canadian" and the default separator is ','. Sometimes, it is "English US" and the default separator is '.'. But the user must have any combination of language/decimal separator.
Is there an API I can call (I'm new to windows programming)? If yes, which one and do I have to buy a library or something else ? Can I find the decimal separator in the registry?