A value is the basic information usable in QDR Formulas. It can be expressed as a number (like "
10") or can be the result of an operation (like "
3 + 5"), or the result of a function (like "
A value can hold up to three decimal values, but all the decimals are truncated in the final result (i.e. the formula "
1 and the formula "
rup((2/3)+0.5)" will obviously return
Each value in QDR is composed by a numeric (shown as the numeric result) and a label (shown as the extended result).
Let’s take in example the addition. It take two operands (right and left) that are two distinct values and generates a new value whose numeric is the sum of the numerics of the operands, and the label is the concatenation of the operands' labels separated by "
+ ". Thus, the formula "
3 + 2" will sum two values: first value is composed by the numeric
3 and the label "
3", second value is composed by the numeric
2 and the label "
2". The result of the addition will be a new value composed by the numeric
5 and the label "
3 + 2".