ServicesConfiguratorUiCallback.Internal.UnitMeasureFormatter-1
Last updated
Last updated
..UnitMeasureFormatter
• new UnitMeasureFormatter()
▸ formatMMValueToUnitString(aValue
, aUnit
, aStringType
): string
aValue
number
aUnit
aStringType
string
▸ formatMMValueWithReqMaxLength(aValue
, aUnit
, reqMaxSize
): string
aValue
number
aUnit
reqMaxSize
number
string
▸ formatNumber(aValue
, digit
): string
aValue
number
digit
number
string
▸ formatSquareMMValueToUnitString(aValue
, aUnit
): string
aValue
number
aUnit
string
▸ init(mmLabel
, cmLabel
, ftShortLabel
, ftLongLabel
, inchShortLabel
, inchLongLabel
, sqMLabel
, sqftLabel
, showExactValue
, maxPrecision
, showFractionalUnitString
): void
mmLabel
string
cmLabel
string
ftShortLabel
string
ftLongLabel
string
inchShortLabel
string
inchLongLabel
string
sqMLabel
string
sqftLabel
string
showExactValue
boolean
maxPrecision
number
showFractionalUnitString
boolean
void
▸ isParseableNumber(aString
): boolean
aString
string
boolean
▸ isParseableUnitString(aString
, aUnit
): boolean
aString
string
aUnit
boolean
▸ parseMMValueFromUnitString(aString
, aUnit
): number
aString
string
aUnit
number
▸ parseNumber(aString
): number
aString
string
number
▸ parseSquareMMValueFromUnitString(aString
, aUnit
): number
aString
string
aUnit
number
▸ showExactValues(shouldeI
): void
shouldeI
boolean
void