Converts an object value that is DBNull or System.Double to an equivalent NullableDouble value.
Null if x is DBNull otherwise a NullableDouble constructed from x.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | x is null. |
| InvalidCastException | x is neither DBNull or of type Double. |
DBNullConvert Class | NullableTypes.HelperFunctions Namespace