How to use it
- Add it from DataOpen the node library and choose Calculate from Data.
- Connect the workflow pathConnect Flow in from the previous step and Flow to the next step.
- Choose settings and connect valuesSet A, B, Operation. Connections can also supply values produced by earlier nodes.
Settings
These are the options shown when you add this node. A connected value can replace a setting when the workflow runs.
| Setting | Starting value | What it controls |
|---|---|---|
| A | 0 | Used when First number is not connected from an earlier node. |
| B | 0 | Used when Second number is not connected from an earlier node. |
| Operation | add | Chooses the calculation or change this node performs. |
Value connections
Value connections pass information between nodes without changing the order of the workflow. When an input is not connected, BotFrame uses the value selected in the node or details from the starting Discord event when available.
Inputs
Outputs
What happens when it runs
Both inputs are used as numbers for the selected calculation. Division and remainder cannot use zero as the second value; whole-number results stay whole while fractional results remain decimal values.
You can use this item in a published BotFrame workflow. You can also test it in the simulator.