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
[C#]
public static double From(
   NullableDouble x,
   double conventionalNullValue
);

Parameters

x
The NullableDouble value to convert.
conventionalNullValue
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