5 Replies Latest reply on Oct 24, 2008 7:15 PM by Newsgroup_User

    Glitch - Sum of an ArrayCollection

    mattcom Level 1
      Ok, so I have an ArrayCollection and a simple little formula to add the collection together. And here's the glitch:
      If the array is say [0,6] then the total is 6 but if the array is [6,0] then the total is 60. How does that work?
      Another example: array is [9,0] then total = 90. Array is [9,0,6] then total = 96. Array is [9,0,6,0] then total = 960. It looks to me that somehow adding 0 multiplies the number by 10, or can be looked at by adding another "0" to the end of the figure.

      Any insight on how to resolve this issue would be much appreciated. Thanks!