static formatAndSet(domElement, options = null) { //FIXME test this
        const formattedValue = this.format(domElement, options);
        AutoNumericHelper.setElementValue(domElement, formattedValue);

        return formattedValue;
    }
Format the given DOM element value, and set the resulting value back as the element value.

@param {HTMLElement|HTMLInputElement} domElement
@param {object} options
@returns {string|null}