Initializes a new instance of the Currency class to a specified Int64 value.
[Visual Basic] Overloads Public Sub New( _ ByVal value As Long _ ) [C#] public Currency( long value ); [C++] public: Currency( __int64 value ); [JScript] public function Currency( value : long );
Exception Type | Condition |
---|---|
OverflowException | is thrown if value is outside the Currency range. |
This constructor initializes a new instance of Currency to a __int64 or Long8 (long) value.
The Currency value range is positive 922,337,203,685,477.5807 to negative 922,337,203,685,477.5808.
Currency Structure | Currency Members | System Namespace | Currency Constructor Overload List