Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3798

Sums have error in answer

$
0
0

Good evening, I’ve looked in all the tutorials and don’t find an answer for this. I have a list box with three columns and three rows. There are numbers in most of the dells. When I add (sum) the numbers as rows I get a number that agrees when I add the numbers individually as a check. When I sum the numbers as columns my number does not agree with the answer the program is giving. I’m off by 1.35 on 6,123.33, 1.16 on 5,832.16 and 1.49 on 11,955.49 which mean little except that the errors aren’t huge but still errors I didn’t expect.

So adding across as rows provides a correct answer all three times, but adding down gives errors. Would anyone know why this is happening? I am using numbers that I enter as general numbers, not currency, to the second place after the decimal.

Any information would be greatly appreciated. Thank you.

9 posts - 7 participants

Read full topic


Viewing all articles
Browse latest Browse all 3798

Trending Articles