getFormatted(callback = null) {
        if (!('value' in this.domElement || 'textContent' in this.domElement)) {
            // Make sure `.value` or `.textContent` exists before trying to access those properties
            AutoNumericHelper.throwError('Unable to get the formatted string from the element.');
        }

        const result = AutoNumericHelper.getElementValue(this.domElement);
        this._executeCallback(result, callback);

        return result;
    }
Return the current formatted value of the AutoNumeric element as a string

@usage anElement.getFormatted()

@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 {string}