Variable settings
Learn how to configure parameter behavior in CalcTree, including visibility, default values, and input/output roles.
Access variable settings by right clicking on the parameter on the page, and clicking 'settings.

This will open up the variable settings pane on the right hand side of the screen, looking something like this:

This is where you can control the Display options, name, formula, view, format and rounding and visibility.
Display Options

The display options vary according to the type of variable you defined.
In case of having a matrix or list defined, options like Selection, Tabular Matrix and Options will be available.
Formula
Define the variable’s value using the formula
field, which supports MathJS syntax for mathematical expressions and functions (learn more). Formulas can also be defined inline in the document or directly within the variable.
Name
Shows the rendering of the name defined in the formula field.
Format
Adjust the parameter’s display format. Some formatting options may be disabled depending on the parameter’s data type.

Display Precision
Adjust the number of significant decimals to be shown. It doesn't affect the calculation, only the displayed value.
Visibility
Control how the variable appears on the page. For example, you can hide the name and formula when embedding the result in text, or show the full equation and result when illustrating a calculation. By default, all visibility options are enabled when a variable is first created.

Dependancies
Displays a list of all other variables that this variable depends on for evaluation. This helps clarify calculation flow and detect potential circular references.
Last updated