CR 10
ODBC [RDO] CONNECTION
INFORMIX DATABASE
I HAVE A SCENERIO WHERE I AM WRITING PERCENTAGE FORMULA'S THAT IS DROPPING PENNIES WHEN THEY ARE BEING SUMMED. SAMPLE DATA FROM MY PROGRAM LOOKS LIKE THIS...
TOTAL 5% BALANCE 72% 7% 21%
28.00 1.40 26.60 19.15 1.86 5.59
1.00 .05 .95 .68 .07 .20
6.00 .30 5.70 4.10 .40 1.20
172.00 8.60 163.40 117.65 11.44 34.31
1.00 .05 .95 .68 .07 .20
11.00 .55 10.45 7.52 .73 2.20
2.00 .10 1.90 1.37 .13 .40
1.00 .05 .95 .68 .07 .20
.00 .00 .00 .00 .00 .00
1.00 .05 .95 .68 .07 .20
.00 .00 .00 .00 .00 .00
95.00 4.75 90.25 64.98 6.32 18.95
---------------------------------------------------------
318.00 15.90 302.10 217.49 21.16 63.45
THIS IS THE DATA OUTPUT FROM FOR THE REPORT. THE "5% COLUMN" IS 5% OF THE TOTAL COLUMN. THE "BALANCE COLUMN" IS (TOTAL COLUMN - 5% COLUMN). THE "72% COLUMN" IS 72% OF THE BALANCE. THE "7% COLUMN" IS 7% OF THE BALANCE COLUMN. AND THE 21% COLUMN IS 21% OF THE BALANCE. AND UNDER THOSE COLUMNS UNDERNEATH THE DOTTED LINE IS THE TOTAL FOR EACH RESPECTFUL COLUMN. THE PROBLEM THAT I AM RUNNING INTO IS THE THE NUMBERS IN THE BOLD ARE OFF BY PENNIES. FOR INSTANCE, 2.20 IS REPORTING AS 2.19 ON MY REPORT. AND THE TOTALS AT THE BOTTOM OF THE REPORT ARE ALSO OFF BY PENNIES. 217.49 IS REPORTING 217.51 AND 21.16 IS SHOWING 21.15 AND 63.45 IS SHOWING 63.44. I CALCULATED EACH FIELD SEPERATELY WITH THE SAME FORMULA FOR EACH. BUT FOR SOME ODD REASON, IT STARTED TO DROP PENNIES. DOES ANYONE HAVE A SOLUTION FOR THIS PROBLEM? IF YOU NEED MORE INFORMATION, PLEASE LET ME KNOW.
ODBC [RDO] CONNECTION
INFORMIX DATABASE
I HAVE A SCENERIO WHERE I AM WRITING PERCENTAGE FORMULA'S THAT IS DROPPING PENNIES WHEN THEY ARE BEING SUMMED. SAMPLE DATA FROM MY PROGRAM LOOKS LIKE THIS...
TOTAL 5% BALANCE 72% 7% 21%
28.00 1.40 26.60 19.15 1.86 5.59
1.00 .05 .95 .68 .07 .20
6.00 .30 5.70 4.10 .40 1.20
172.00 8.60 163.40 117.65 11.44 34.31
1.00 .05 .95 .68 .07 .20
11.00 .55 10.45 7.52 .73 2.20
2.00 .10 1.90 1.37 .13 .40
1.00 .05 .95 .68 .07 .20
.00 .00 .00 .00 .00 .00
1.00 .05 .95 .68 .07 .20
.00 .00 .00 .00 .00 .00
95.00 4.75 90.25 64.98 6.32 18.95
---------------------------------------------------------
318.00 15.90 302.10 217.49 21.16 63.45
THIS IS THE DATA OUTPUT FROM FOR THE REPORT. THE "5% COLUMN" IS 5% OF THE TOTAL COLUMN. THE "BALANCE COLUMN" IS (TOTAL COLUMN - 5% COLUMN). THE "72% COLUMN" IS 72% OF THE BALANCE. THE "7% COLUMN" IS 7% OF THE BALANCE COLUMN. AND THE 21% COLUMN IS 21% OF THE BALANCE. AND UNDER THOSE COLUMNS UNDERNEATH THE DOTTED LINE IS THE TOTAL FOR EACH RESPECTFUL COLUMN. THE PROBLEM THAT I AM RUNNING INTO IS THE THE NUMBERS IN THE BOLD ARE OFF BY PENNIES. FOR INSTANCE, 2.20 IS REPORTING AS 2.19 ON MY REPORT. AND THE TOTALS AT THE BOTTOM OF THE REPORT ARE ALSO OFF BY PENNIES. 217.49 IS REPORTING 217.51 AND 21.16 IS SHOWING 21.15 AND 63.45 IS SHOWING 63.44. I CALCULATED EACH FIELD SEPERATELY WITH THE SAME FORMULA FOR EACH. BUT FOR SOME ODD REASON, IT STARTED TO DROP PENNIES. DOES ANYONE HAVE A SOLUTION FOR THIS PROBLEM? IF YOU NEED MORE INFORMATION, PLEASE LET ME KNOW.