# Arithmetic class

Namespace: [Grasshopper2](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public static class Arithmetic
```

This static class collects and maintains all arithmetic operators.

## Methods

- [Abs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/abs.md): (10 overloads, static)
- [Acos](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/acos.md): (8 overloads, static)
- [Acot](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/acot.md): (8 overloads, static)
- [Acsc](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/acsc.md): (8 overloads, static)
- [Add](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/add.md): (4 overloads, static)
- [AddRepository](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/addrepository.md): (static) Copy all functionality from an [ArithmeticRepository](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmeticrepository.md) into the global server.
- [Apply](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/apply.md): (4 overloads, static) Attempt to run a known operator on two values. This method is the recommended one for arithmetic operations, as it will first attempt the operation on type defined operator overloads.
- [ApplyBulk](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/applybulk.md): (4 overloads, static) Apply a binary function to two trees.
- [Asec](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/asec.md): (8 overloads, static)
- [Asin](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/asin.md): (8 overloads, static)
- [Atan](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/atan.md): (8 overloads, static)
- [Cbrt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/cbrt.md): (10 overloads, static)
- [Ceiling](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/ceiling.md): (10 overloads, static)
- [Cos](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/cos.md): (8 overloads, static)
- [Cot](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/cot.md): (8 overloads, static)
- [Csc](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/csc.md): (8 overloads, static)
- [Div](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/div.md): (9 overloads, static)
- [Division](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/division.md): (2 overloads, static)
- [Exp](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/exp.md): (10 overloads, static)
- [Floor](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/floor.md): (10 overloads, static)
- [Format](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/format.md): (4 overloads, static) Gets the notational format for the given binary function. The format will include '{0}' and '{1}' fields for the arguments.
- [Log](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/log.md): (30 overloads, static)
- [Log10](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/log10.md): (10 overloads, static)
- [Log2](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/log2.md): (10 overloads, static)
- [Max](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/max.md): (22 overloads, static)
- [Min](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/min.md): (22 overloads, static)
- [Mul](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/mul.md): (7 overloads, static)
- [MulFloatInteger](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/mulfloatinteger.md): (static) A multiplication method for double and BigIntegers, which operates entirely within the BigInteger range.
- [Multiple](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/multiple.md): (12 overloads, static)
- [Multiplication](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/multiplication.md): (4 overloads, static)
- [Pow](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/pow.md): (24 overloads, static)
- [Round](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/round.md): (11 overloads, static)
- [Sec](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/sec.md): (8 overloads, static)
- [Sign](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/sign.md): (10 overloads, static)
- [Sin](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/sin.md): (8 overloads, static)
- [SmartIntegerDivision](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/smartintegerdivision.md): (2 overloads, static) Perform clever integer division which always reverts to the most appropriate output type.
- [Sqrt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/sqrt.md): (10 overloads, static)
- [Sub](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/sub.md): (4 overloads, static)
- [Tan](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/tan.md): (8 overloads, static)
- [Truncate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.arithmetic/truncate.md): (10 overloads, static)
