NullableTypes Class Library

NullConvert.From Method (NullableDouble, Double)

Converts the specified NullableDouble value to an equivalent Double value using a conventional Double value to represent the Null value.

[Visual Basic]
Overloads Public Shared Function From( _
   ByVal x As NullableDouble, _
   ByVal conventionalNullValue As Double _
) As Double
public static double From(
   NullableDouble x,
   double conventionalNullValue


The NullableDouble value to convert.
The Double value that conventionally represent the null value.

Return Value

conventionalNullValue if x is Null otherwise the Value of x.

See Also

NullConvert Class | NullableTypes.HelperFunctions Namespace | NullConvert.From Overload List