Aggregate functions
Aggregate keywords operate on the consecutive non-empty calculator lines above them.
Sum and total
| @1 | 10 | |
| @2 | 20 | |
| @3 | 30 | |
| @4 | total |
Average
| @1 | 10 | |
| @2 | 20 | |
| @3 | 30 | |
| @4 | average |
Minimum and maximum
| @1 | 8 | |
| @2 | 3 | |
| @3 | 21 | |
| @4 | min | |
| @5 | max |
Other supported aggregate keywords include count, median, and mode.