Locale$

Purpose:

Returns various locale values for a country via the Windows API function 'GetLocaleInfo', for example currency, decimals, separators, language and country code. The code for the appropriate country is entered in the second parameter, if no second parameter is used the default country settings will be used. A list of possible return values can be found in the Knowledgebase.

Parameter:

Number       Desired return value.

String          Country code/ISO code of the desired country, e.g. 'en-US' or 'US'.

Return value:

String

Example:

Locale$(42,"en-US")            Result: "Monday"