# MX\_LOCALE
> [HTML Version](mx_locale.htm)
_Added May 2024_
**xcall MIAMEX, MX\_LOCALE, op, attrid, value, status**
MX\_LOCALE (205) provides a convenient way to query the native OS locale information, in contrast to the A-Shell locale which is set via the LANGUAGE parameter in miame.ini and queried via GTLANG[xs](keyword-types.htm.md). This routine is intended to be helpful when debugging the confusing situation that can occur when either A-Shell or the native OS is using the period as a thousands separator and/or the comma as the decimal point.
**Parameters**
_op_ ([Integer](integer.htm.md)) \[in\]
operation: 0=get; no other options are currently supported
_attrid_ ([String](string.htm.md)) \[in\]
attribute to get: "dec" = decimal point character, "tsp" - thousands separator character
_value_ ([String](string.htm.md)) \[in/out\]
value of attribute
_status_ ([Signed Int](integer-signed.htm.md)) \[out\]
returns 0 for ok, else error #
**History**
2024 May, A-Shell 7.0.1759: Routine added to A-Shell.