MCPcopy Create free account
hub / github.com/UI5/webcomponents / _formatNumber

Method _formatNumber

packages/main/src/StepInput.ts:601–603  ·  view source on GitHub ↗

* Formats a number with thousands separator based on current locale * @private

(value: number)

Source from the content-addressed store, hash-verified

599 * @private
600 */
601 _formatNumber(value: number): string {
602 return this.formatter.format(value);
603 }
604
605 /**
606 * Parses formatted number string back to numeric value

Callers 3

_displayValueMethod · 0.95
_modifyValueMethod · 0.95

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected