NullableTypes Class Library

NullableDecimal Explicit NullableTypes.NullableDouble to NullableTypes.NullableDecimal Conversion 

Converts the NullableDouble parameter to a NullableDecimal structure.

[Visual Basic]
returnValue = NullableDecimal.op_Explicit(x)
public static explicit operator NullableDecimal(
   NullableDouble x


A NullableDouble to be converted to a NullableDecimal structure.

Return Value

Null if x is Null otherwise a new NullableDecimal structure constructed from the Value of x.


Exception TypeCondition
OverflowExceptionx value is a number that is less than MinValue or greater than MaxValue


value is NaN, PositiveInfinity, or NegativeInfinity.

See Also

NullableDecimal Class | NullableTypes Namespace