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 _
)
[C#]
public NullableDecimal(
   double value
);

Parameters

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

Exceptions

Exception TypeCondition
OverflowExceptionvalue is greater than MaxValue or less than MinValue

-or-

value is NaN, PositiveInfinity, or NegativeInfinity.

See Also

NullableDecimal Class | NullableTypes Namespace | NullableDecimal Constructor Overload List