Generate - Math Instructions
Overview
This page contains all information on generating and formatting of math formulas
Instruction Syntax | Instruction Name | Instruction Description |
---|---|---|
* | math.add | Formula to perform an addition |
* | math.divide | Formula to perform a division |
* | math.power | Formula to perform an exponentiation |
* | math.multiply | Formula to perform a mutiplication |
* | math.substract | Formula to perform a substraction |
math.add
Description: Formula to perform an addition
Subroutine Syntax: {{*math.add(X,Y)}}
Example:
{{*math.add(1,1)}}
Example Output:
2
math.divide
Description: Formula to perform a division
Subroutine Syntax: {{*math.divide(X,Y)}}
Example:
{{*math.divide(4,2)}}
Example Output:
2.00
math.power
Description: Formula to perform an exponentiation
Subroutine Syntax: {{*math.power(X,Y)}}
Example:
{{*math.power(3,2)}}
Example Output:
9
math.multiply
Description: Formula to perform a mutiplication
Subroutine Syntax: {{*math.multiply(X,Y)}}
Example:
{{*math.multiply(3,4)}}
Example Output:
12
math.substract
Description: Formula to perform a substraction
Subroutine Syntax: {{*math.substract(X,Y)}}
Example:
{{*math.substract(12,4)}}
Example Output:
8