SUM
The SUM function returns a value that is the sum of the parameters. The
function type is either integer or numeric depending on the type of the
parameters, as follows:
Parameter Type Function Type
All parameters integer Integer
Numeric (some parameters may be Numeric
integer)
Syntax
FUNCTION SUM ({parameter-1}...)
Parameters
parameter-1 Must be class numeric.