Bridge

Decimal..::..Divide Method

Divides two specified Decimal values.

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

Syntax


[TemplateAttribute]
public static decimal Divide(
	decimal d1,
	decimal d2
)
<TemplateAttribute> _
Public Shared Function Divide ( _
	d1 As Decimal, _
	d2 As Decimal _
) As Decimal
[TemplateAttribute]
public:
static Decimal^ Divide(
	Decimal^ d1, 
	Decimal^ d2
)

Parameters

d1
Type: System..::..Decimal
The dividend.
d2
Type: System..::..Decimal
The divisor.

Return Value

The result of dividing d1 by d2.

Exceptions


ExceptionCondition
System..::..DivideByZeroExceptiond2 is zero.
System..::..OverflowExceptionThe return value (that is, the quotient) is less than MinValue or greater than MaxValue.