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