Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > L

LSUM

Scroll Prev Top Next More

(LSUM(list))

 

Return the sum for a list of values.

 

Remarks:

 

LSUM supports CURRENCY, DOUBLE, REAL, NUMERIC, INTEGER, BIGINT, SMALLINT, or BIGNUM data types.

 

Example:

 

SET VAR vListSum DOUBLE = (LSUM(189.45,79.14,43.75,33.25,27.58,789.40,6.12))

SHOW VAR vListSum

1168.69