PathBuilder.ParseFloat(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses a string value as a float using invariant culture.
public:
static float ParseFloat(System::String ^ value);
public static float ParseFloat(string value);
static member ParseFloat : string -> single
Public Shared Function ParseFloat (value As String) As Single
Parameters
- value
- String
The string representation of a number.
Returns
The float value parsed from the string.
Exceptions
Thrown when the string cannot be parsed as a float.
Remarks
Handles special cases like Illustrator's malformed number formats (e.g., "5.96.88").