Converts the specified String representation of a number to its NullableSingle equivalent.
A NullableSingle structure containing the parsed value.
The s parameter can contain PositiveInfinitySymbol, NegativeInfinitySymbol and NaNSymbol.
Exception Type | Condition |
---|---|
ArgumentNullException | s is a null reference (Nothing in Visual Basic). |
FormatException | s s is not a number in a valid format. |
OverflowException | s represents a number less than MinValue or greater than MaxValue. |
NullableSingle Class | NullableTypes Namespace | Parse