How to use this command
CALCULATENX command is for node level operations. It can be used in any node as an instruction, except for the root node.
It should not be used as arrow text.
Let's take an example: CALCULATENX $output_variable "200.156 * (12 / 100)"
Here, "$output_variable" is where the result of the expression "200.156 * (12 / 100)" will be stored.
If you had a tree variable "$percent_rate" which was previously initialized to 12, the above expression could have also been "200.156 * ($percent_rate / 100)"
Examples
- CALCULATENX $base_rate "1000.12647"
- CALCULATENX $rate_per_mile "$base_rate / $distance"
- CALCULATENX $minimum_margin_percent_rate "$base_rate * ($minimum_margin_percent / 100)"