• Converts a number to localized length string. The value is expected in meter. Null will be returned if the conversion fails.

    Parameters

    • pValue: number
    • pLocale: string
    • pTargetUnit: LengthUnit = LengthUnit.Meter
    • pAddUnit: boolean = true

    Returns string | null

Generated using TypeDoc