Math Helper
Helper component to perform mathematical operations.
Categories: helpers
Type: mathHelper/v1
Actions
Addition
Name: addition
Add two numbers.
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
firstNumber | First Number | NUMBER | NUMBER | true | |
secondNumber | Second Number | NUMBER | NUMBER | true |
Output
Type: NUMBER
Division
Name: division
Divide two numbers.
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
firstNumber | First Number | NUMBER | NUMBER | Number to be divided. | true |
secondNumber | Second Number | NUMBER | NUMBER | Number to divide by. | true |
Output
Type: NUMBER
Modulo
Name: modulo
Get the remainder of the division of two numbers.
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
firstNumber | First Number | NUMBER | NUMBER | Number to be divided. | true |
secondNumber | Second Number | NUMBER | NUMBER | Number to divide by. | true |
Output
Type: NUMBER
Multiplication
Name: multiplication
Multiply two numbers.
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
firstNumber | First Number | NUMBER | NUMBER | true | |
secondNumber | Second Number | NUMBER | NUMBER | true |
Output
Type: NUMBER
Subtraction
Name: subtraction
Subtract two numbers.
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
firstNumber | First Number | NUMBER | NUMBER | Number to subtract from. | true |
secondNumber | Second Number | NUMBER | NUMBER | Number to subtract. | true |
Output
Type: NUMBER