I have made a simple client-side script that does a simple calculation with two numbers. The client's PC has English OS, but is configured with Norwegian regional settings.
When I use the FormatNumber function in said script I use this syntax FormatNumber(n, 3, , , TristateUseDefault), where the TristateUseDefault parameter is supposed to use the regional settings for number formatting. This is not the case. The FormatNumber function seem to read the settings based on the language of the OS instead, which gives me problems as all numbers in the form are formatted the Norwegian way, and all other users of the application use Norwegian versions of the OS.
Anyone encountered a similar problem?