Initializes a new instance of the Currency class to a value specified by a Double.
[Visual Basic] Overloads Public Sub New( _ ByVal value As Double _ ) [C#] public Currency( double value ); [C++] public: Currency( double value ); [JScript] public function Currency( value : double );
Exception Type | Condition |
---|---|
OverflowException | If the value is outside the Currency range, or if the value is infinity or not a number (NaN). |
This constructor initializes a new instance of the Currency to a Double (double) value .
Currency Structure | Currency Members | System Namespace | Currency Constructor Overload List