Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>atotal() - get the total of all the numbers in an array</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     atotal() - get the total of all the numbers in an array
  Usage:    <integer> = atotal(<array>)
  Params:   array <array>, an array of numbers
  Returns:  the total sum of all numbers in the array

 ---------------------------------- Example ---------------------------------

                 declare numbers[5]
                 numbers[1] = 2094.00
                 numbers[2] = 2500.56
                 numbers[3] = 19001.44
                 numbers[4] = 8.2
                 numbers[5] = 99.15

                 ? atotal(numbers)
                 * prints 23703.35

See Also: aaverage()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson