• Converts a localized length string to number. Number grouping is not supported (thousands separators). If the string does not contain a length unit the default unit will be used. The value will be returned in meter. Null will be returned if the conversion fails.

    Parameters

    • pString: string
    • pDefaultUnit: LengthUnit = LengthUnit.Meter

    Returns number | null

Generated using TypeDoc