I have five numbers (shown below) that were determined elsewhere
in the program.
When these are added, it seems to be off by one. Is there any
I can do to make the addtion more accurate?
9
1364
0
5243216
14776336
The sum is 20020925, but it returns 20020924 for some reason.
I am using the statement:
TotVal=0
[snipped]
If K > yeer, then
TotVal = TotVal + K
End if
Print "I believe the number you are looking for is: ########";TotVal
What can I do to make the values more accurate? Thank you.
------------------
in the program.
When these are added, it seems to be off by one. Is there any
I can do to make the addtion more accurate?
9
1364
0
5243216
14776336
The sum is 20020925, but it returns 20020924 for some reason.
I am using the statement:
TotVal=0
[snipped]
If K > yeer, then
TotVal = TotVal + K
End if
Print "I believe the number you are looking for is: ########";TotVal
What can I do to make the values more accurate? Thank you.
------------------
Comment