function toLocaleString(x, locales, options) {
        var numberFormat = new NumberFormat(locales, options);
        return numberFormat.format(x);
    }
Check if a formatting number with unit is supported
@public
@param unit unit to check