Math Operators

There are various Math operators support on PIM's Dashboard

  1. Addition Operator (sum)

  2. Multiply Operator (mul)

  3. Subtraction Operator(diff)

  4. Divide Operator(divide)

1. Addition Operator (sum)

when you want to sum couple of numbers than you can use sum operator

Arguments

This Operator can take upto 255 arguments

Example

sum(1,2,4); //this will return 7 as output

2. Multiply Operator (mul)

when you want to multiply couple of numbers than you can use multiply operator

Arguments

This Operator can take upto 255 arguments

Example

mul(1,2,4); //this will return 8 as output

3. Subtraction Operator (diff)

used to perform subtraction operation

Arguments

This operator will take two arguments and both arguments are required

Example

diff(5,2); 
// this will return 3 as output
// Explanation: 5-2 = 3

4. Divide Operator (divide)

used to perform divide mathematical operation

Arguments

This operator will take two arguments and both arguments are required

Example

divide(4,2); 
// this will return 2 as output
// Explanation: 4/2 = 2

Last updated