RoomleConfigurator.Internal.KernelUnitFormatter
configurator-core/src/roomle-configurator.internal.KernelUnitFormatter
Table of contents
Methods
Methods
formatMMValueToUnitString
▸ formatMMValueToUnitString(aValue
, aUnit
, aStringType
): string
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
string
formatMMValueWithReqMaxLength
▸ formatMMValueWithReqMaxLength(aValue
, aUnit
, reqMaxSize
): string
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
string
formatNumber
▸ formatNumber(aValue
, digit
): string
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
string
formatSquareMMValueToUnitString
▸ formatSquareMMValueToUnitString(aValue
, aUnit
): string
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
string
isParseableNumber
▸ isParseableNumber(aString
): boolean
Parameters
Name | Type |
---|---|
|
|
Returns
boolean
isParseableUnitString
▸ isParseableUnitString(aString
, aUnit
): boolean
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
boolean
parseMMValueFromUnitString
▸ parseMMValueFromUnitString(aString
, aUnit
): number
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
number
parseNumber
▸ parseNumber(aString
): number
Parameters
Name | Type |
---|---|
|
|
Returns
number
Last updated