MathToolkit
math_add
- a (float): The first number to be added.
- b (float): The second number to be added.
math_subtract
- a (float): The minuend in subtraction.
- b (float): The subtrahend in subtraction.
b
from :obj:a
.
math_multiply
- a (float): The multiplier in the multiplication.
- b (float): The multiplicand in the multiplication.
- decimal_places (int, optional): The number of decimal places to round to. Defaults to 2.
math_divide
- a (float): The dividend in the division.
- b (float): The divisor in the division.
- decimal_places (int, optional): The number of decimal places to round to. Defaults to 2.
a
by :obj:b
.
math_round
- a (float): The number to be rounded.
- decimal_places (int, optional): The number of decimal places to round to. Defaults to 0.