info("measurementsystem")
info("measurementsystem")

The info(“measurementsystem”) function returns the measurement system for the current location.

Description

This function returns the measurement system for the current location, either U.S. or Metric. The result of this function will immediately reflect any changes made in the System Preferences Language & Region panel.

    info("measurementsystem") ☞ U.S.

See Also

- info("countrycode") -- returns the country code for the current location.
- info("currencycode") -- returns the currency code for the current location.
- info("currencysymbol") -- returns the currency symbol for the current location.
- info("decimalseparator") -- returns the current decimal separator character (period or comma).
- info("languagecode") -- returns the language code for the current location.
- info("thousandsseparator") -- returns the current thousands separator character (period or comma).

History

Version | Status | Notes
10.0 | New | New in this version.