Functions on Integer

This page provides an extract of frequently used functions using integers.

Function Input Types Return Type Description
$MAX(ints) List of integers Integer Returns the max value among ints.
$MIN(ints) List of integers Integer Returns the min value among ints.
$SUM(ints) List of integers Integer Sums ints values.

Example: $SUM(100 $+ 22 $+ 1) returns 123

$INTERVAL(ints) List of integers List of integers Returns a list of all the integers included in the interval from the lowest to the highest.

Example: $INTERVAL(10 $+ 8 $+ 2) returns 2 $+ 3 $+ 4 $+ 5 $+ 6 $+ 7 $+ 8 $+ 9 $+ 10.