ReadonlyformatFormats a number using the given options. The number may be given either as a number or a string. The string must be a valid number, using a dot as the decimal separator. Using a string avoids floating point precision issues.
The number to format.
The options to use when formatting the number.
The formatted number.
ReadonlyisChecks if the given value is a valid number formatted according to the given options.
The formatted number to check.
The options to use for checking the number.
True if the given value is a valid number, false otherwise.
ReadonlyparseParses a formatted number using the given options. The value is returned as a number.
The formatted number to be parsed.
The options to use when parsing the number.
The parsed number.
ReadonlyparseParses a formatted number using the given options. The value is returned a string, using a dot as the decimal separator.
The formatted number to be parsed.
The options to use when parsing the number.
The parsed number.
The API for formatting and parsing numerical values, independent of any NumberFormat element.
The API is available via
$.xutil.numberFormat.formatter.