How do I retrieve the system currency symbol (e.g. $ or R) and currency decimal symbol (e.g. , or .)?
I have currency fields that on some pc's causes errors in the program. I've narrowed it down to system settings, for instance, system currency decimal symbol is , (comma) but in South Africa we use a . (full stop/dot/point). When the setting is set to , (comma) and the user enter the . (full stop/dot/point) I get errors.
So what I'm trying to achieve is to retrieve the symbols from Windows system settings and limit input in the currency fields to those symbols.
I have currency fields that on some pc's causes errors in the program. I've narrowed it down to system settings, for instance, system currency decimal symbol is , (comma) but in South Africa we use a . (full stop/dot/point). When the setting is set to , (comma) and the user enter the . (full stop/dot/point) I get errors.
So what I'm trying to achieve is to retrieve the symbols from Windows system settings and limit input in the currency fields to those symbols.