PPA Tools: Math
Summary
This module contains actions for basic arithmetic.
Actions
ppa_tools.math.
add
Add two numbers together.
Minimum Plugin Version: 10.4.0
Input
-
start: the first number (text, integer, or float)
-
plus: the number to add to start (text, integer, or float)
Output
Either an integer if the sum is a round number, or a float with up to 2 decimal places.
Example
1 2 3 4 |
|
ppa_tools.math.
divide
Divide one number by another.
Minimum Plugin Version: 10.4.0
Input
-
start: the number to be divided (text, integer, or float)
-
divide_by: the number to divide start by (text, integer, or float)
Output
Either an integer if the result is a round number, or a float with up to 2 decimal places.
Example
1 2 3 4 |
|
ppa_tools.math.
multiply
Multiply one number by another.
Minimum Plugin Version: 10.4.0
Input
-
start: the number to be multiplied by multiply_by (text, integer, or float)
-
multiply_by: the number to multiply start by (text, integer, or float)
Output
Either an integer if the result is a round number, or a float with up to 2 decimal places.
Example
1 2 3 4 |
|
ppa_tools.math.
subtract
Subtract one number from another.
Minimum Plugin Version: 10.4.0
Input
-
start: the first number (text, integer, or float)
-
minus: the number to subtract from start (text, integer, or float)
Output
Either an integer if the result is a round number, or a float with up to 2 decimal places.
Example
1 2 3 4 |
|
ppa_tools.math.
total
Add one or more numbers together to get the total.
Minimum Plugin Version: 10.4.0
Input
- numbers: a list of numbers to sum (text, integer, or float)
Output
Either an integer if the sum is a round number, or a float with up to 2 decimal places.
Example
1 2 3 4 5 6 |
|