fromLocaleLengthString(pString: string, pDefaultUnit?: LengthUnit): number | null
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.
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.