MCPcopy Index your code
hub / github.com/autoNumeric/autoNumeric / unformatLocalized

Method unformatLocalized

src/AutoNumeric.js:2629–2633  ·  view source on GitHub ↗

* Remove the formatting and keep only the localized unformatted value in the element, with the option to override the default outputFormat if needed * * Locale formats are supported "1234.56-" or "1234,56" or "-1234,56 or "1234,56-", or even plain numbers. * Take a look at the `output

(forcedOutputFormat = null)

Source from the content-addressed store, hash-verified

2627 * @returns {AutoNumeric}
2628 */
2629 unformatLocalized(forcedOutputFormat = null) {
2630 this._setElementValue(this.getLocalized(forcedOutputFormat));
2631
2632 return this;
2633 }
2634
2635 /**
2636 * Return `true` if the current value is the same as when the element got initialized.

Callers 3

constructorMethod · 0.80
formUnformatLocalizedMethod · 0.80

Calls 2

_setElementValueMethod · 0.95
getLocalizedMethod · 0.95

Tested by

no test coverage detected