NullableTypes Class Library

NullableDouble.Parse Method 

Converts the specified String representation of a number value to its NullableDouble equivalent.

[Visual Basic]
Public Shared Function Parse( _
   ByVal s As String _
) As NullableDouble
public static NullableDouble Parse(
   string s


The String to be converted.

Return Value

A NullableDouble structure containing the parsed value.


The s parameter can contain PositiveInfinitySymbol, NegativeInfinitySymbol and NaNSymbol.


Exception TypeCondition
ArgumentNullExceptions is a null reference (Nothing in Visual Basic).
FormatExceptions s is not a number in a valid format.
OverflowExceptions represents a number less than MinValue or greater than MaxValue.

See Also

NullableDouble Class | NullableTypes Namespace | Parse