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

Method _parseNumber

packages/main/src/StepInput.ts:609–611  ·  view source on GitHub ↗

* Parses formatted number string back to numeric value * @private

(formattedValue: string)

Source from the content-addressed store, hash-verified

607 * @private
608 */
609 _parseNumber(formattedValue: string): number {
610 return this.formatter.parse(formattedValue) as number;
611 }
612
613 _incValue() {
614 if (this._incIconClickable && !this.disabled && !this.readonly) {

Callers 4

_displayValueMethod · 0.95
_updateValueStateMethod · 0.95
_onInputChangeMethod · 0.95
_onkeydownMethod · 0.95

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected