NullableTypes Class Library

NullableDecimal Constructor (Double)

Initializes a new instance of the NullableDecimal structure using the specified double-precision floating-point number.

[Visual Basic]
Overloads Public Sub New( _
   ByVal value As Double _
public NullableDecimal(
   double value


A double-precision floating-point number value to be stored in the Value property of the new NullableDecimal structure.


Exception TypeCondition
OverflowExceptionvalue is greater than MaxValue or less than MinValue


value is NaN, PositiveInfinity, or NegativeInfinity.

See Also

NullableDecimal Class | NullableTypes Namespace | NullableDecimal Constructor Overload List