Data types
Understand the different data types used in CalcTree variables, including numbers, quantities, tables, and more.
Each variable in CalcTree has a data type that defines how its value is interpreted. These types are automatically inferred based on the value or explicitly defined when using templates or spreadsheet inputs.
Number: numeric values, such as
10or2.85Quantity: a number and a physical unit, such as
1.5 hoursString: string of characters, such as
OKBoolean: either
TrueorFalseTable: a two dimensional array of the above types
Last updated