Click or drag to resize

MathRDivide Method

Divides a with b

If a and b are null then null is returned. If a is null then 0 is returned. If b is null then a is returned;

Tries to cast primitiv Type and use the / operator. If the Type is unknown then reflection is used to determin the operator.

Namespace:  System
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntax
public static Object Divide(
	Object a,
	Object b
)

Parameters

a
Type: SystemObject
The dividend
b
Type: SystemObject
The divisor

Return Value

Type: Object
Returns the quotient of the division
Exceptions
ExceptionCondition
ArgumentExceptionOperator cannot be applied
See Also