Purpose:
Returns various locale values for a country based on the country code/culture identifier in the second (optional) parameter. These can be for example currency, decimals, separators, language and country code.
Parameter:
Number Desired return value (see the documentation for the Windows API function 'GetLocaleInfo' or in the Knowledgebase)
String (optional) Country code (ISO 3166-1 alpha-2, ISO 3166-1 alpha-3, ISO 3166-1 numeric-3) or culture identifier, e.g., 'US', 'USA', '840' or 'en-US'. Default: System setting
Return value:
String
Example:
Locale$(42,"en-US") Result: "Monday"