Function toLocaleLengthString
- toLocaleLengthString(pValue: number, pLocale: string, pTargetUnit?: LengthUnit, pAddUnit?: boolean): string | null
-
Parameters
-
pValue: number
-
pLocale: string
-
pTargetUnit: LengthUnit = LengthUnit.Meter
-
pAddUnit: boolean = true
Returns string | null
Converts a number to localized length string. The value is expected in meter. Null will be returned if the conversion fails.