SUM Function


This function returns a value that is the sum of the arguments.


Argument TypeReturn Type1
All IntegerInteger
Numeric (some can be integer)Numeric

Usage example:

FUNCTION* SUM* ( {argument}...)2


  1. The return type of this function depends on the types of the arguments that were passed to it. If all arguments are integers, then the return type will be an integer. Otherwise, the return type will be numeric.

  2. This function takes a large number of arguments at once with no set limit, so long as they are all the correct type.