Bridge

Decimal Constructor (Double)

Initializes a new instance of Decimal to the value of the specified double-precision floating-point number.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public Decimal(
	double d
)
<TemplateAttribute> _
Public Sub New ( _
	d As Double _
)
[TemplateAttribute]
public:
Decimal(
	double^ d
)

Parameters

d
Type: System..::..Double

Exceptions


ExceptionCondition
System..::..OverflowExceptionvalue is greater than MaxValue or less than MinValue.-or- value is NaN, PositiveInfinity, or NegativeInfinity.