NullableTypes Class Library

NullConvert.ToNullableDouble Method (Double, Double)

Converts the specified Double value whose null value is simulated using a a conventional Double value to an equivalent NullableDouble.

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


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

Return Value

Null if x is equals to conventionalNullValue otherwise a NullableDouble constructed from x.

See Also

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