getLocalized(forcedOutputFormat = null, callback = null) {
        // First, check if only a callback has been passed, and if so, sanitize the parameters
        if (AutoNumericHelper.isFunction(forcedOutputFormat) && AutoNumericHelper.isNull(callback)) {
            callback = forcedOutputFormat;
            forcedOutputFormat = null;
        }

        // Then get the localized value
        let value;
        if (AutoNumericHelper.isEmptyString(this.rawValue)) {
            value = '';
        } else {
            // Here I use `this.rawValue` instead of `this.getNumericString()` since the current input value could be unformatted with a localization (i.e. '1234567,89-').
            // I also convert the rawValue to a number, then back to a string in order to drop the decimal part if the rawValue is an integer.
            value = ''+Number(this.rawValue);
        }

        if (value !== '' && Number(value) === 0 && this.settings.leadingZero !== AutoNumeric.options.leadingZero.keep) {
            value = '0';
        }

        let outputFormatToUse;
        if (AutoNumericHelper.isNull(forcedOutputFormat)) {
            outputFormatToUse = this.settings.outputFormat;
        } else {
            outputFormatToUse = forcedOutputFormat;
        }

        const result = this.constructor._toLocale(value, outputFormatToUse, this.settings);
        this._executeCallback(result, callback);

        return result;
    }
Returns the unformatted value, but following the `outputFormat` setting, which means the output can either be :
- a string (that could or could not represent a number (i.e. "12345,67-")), or
- a plain number (if the setting 'number' is used).

By default, the returned values are an ISO numeric string "1234.56" or "-1234.56" where the decimal character is a period.
Check the "outputFormat" option definition for more details.

@usage anElement.getLocalized();

@param {null|string|function} forcedOutputFormat If set to something different from `null`, then this is used as an overriding outputFormat option
@param {function|null} callback If a callback is passed, then the result is passed to it as its first argument, and the AutoNumeric object has its second

@returns {*}