Decimal..::..Divide Method
Divides two specified Decimal values.
Namespace:
SystemAssembly: 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 )
Return Value
The result of dividing d1 by d2.Exceptions
Exception | Condition |
---|---|
System..::..DivideByZeroException | d2 is zero. |
System..::..OverflowException | The return value (that is, the quotient) is less than MinValue or greater than MaxValue. |