| MathR Class |
Provides static methods for common mathematical functions.
Inheritance Hierarchy
Namespace:
System
Assembly:
Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntax public static class MathR
Public NotInheritable Class MathR
public ref class MathR abstract sealed
The MathR type exposes the following members.
Methods
| Name | Description |
---|
| Add |
Adds a to b
If a and b are null then null is returned. If
a is null then b 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.
|
| Divide |
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.
|
| Multiply |
Multiplies a with b
If a and b are null then null is returned. If
a is null then b 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.
|
| Substract |
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.
|
TopSee Also