Obtain Regionally Valid Decimal Separator without API
The decimal point is usually the dot ".", but for some countries, e.g. Greece, it is ",". This code allows you to retrieve the decimal separator on which the computer the program is running without using an API function.
Instructions: Copy the declarations and code below and paste directly into your VB project.