CodePlexProject Hosting for Open Source Software

The sum of the values in the sequence.

var numbers = [ 43.68, 1.25, 583.7, 6.5 ]; var sum = $from(numbers).sum(); document.writeln("The sum of the numbers is " + sum); /* This code produces the following output: The sum of the numbers is 635.13. */

Last edited May 18, 2012 at 9:46 AM by suckgamoni, version 1