Status: pending.
Result:
0 tests 0 errors
The following table has formulas placed in xpr attributes. The operands A and B are initialized with some default values and can be edited. The rows 3 to 6 carry the formulas.
The spreadsheet init function parses the operand fields and then evaluates the expressions and writes the formatted results into the cells.
The focusout event indicates that cell editing is finished and triggers a re-evaluation of formulas.
Evaluation of expressions | ||
Operands | A | n$2 |
B | 3 | |
Results | A + B | |
A - B | ||
A * B | ||
A / B |