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