NullableTypes Class Library

NullableString.ToNullableSingle Method 

Converts this NullableString instance to a NullableSingle.

[Visual Basic]
Public Function ToNullableSingle() As NullableSingle
[C#]
public NullableSingle ToNullableSingle();

Return Value

A NullableSingle that is Null if this NullableString is Null otherwise a NullableSingle whose Value equals the number represented by this NullableString instance.

Exceptions

Exception TypeCondition
FormatException this NullableString instance is not of the correct format.
OverflowException this NullableString instance represents a number less than MinValue or greater than MaxValue.

See Also

NullableString Class | NullableTypes Namespace | Parse