Click or drag to resize

MathRSubstract Method

Substracts b from a

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 Substract(
	Object a,
	Object b
)

Parameters

a
Type: SystemObject
The minuend
b
Type: SystemObject
The substrahend

Return Value

Type: Object
Returns the difference of the substraction
Exceptions
ExceptionCondition
ArgumentExceptionOperator cannot be applied
See Also