ccmis
04-25-2002, 12:29 PM
I always have problems while doing calculations in queries that cause rounding problems (that make no sense).
For example, I have a number that I want to collect a 5% commission on. On some records, I would say about once every 20-25 records, when I multiply the 1895.22 x .05 I get an answer back of say 94.761. When I run it through the RoundCC() module it will sometimes come up as 94.7612399845 or something wild like that. Is this a bug in Access 97. I constantly run into this. Does this kind of thing happen in Access 2000? I remember COBOL and RPG, when you used a rounding command it rounded up to the next whole cent and was done.
For example, I have a number that I want to collect a 5% commission on. On some records, I would say about once every 20-25 records, when I multiply the 1895.22 x .05 I get an answer back of say 94.761. When I run it through the RoundCC() module it will sometimes come up as 94.7612399845 or something wild like that. Is this a bug in Access 97. I constantly run into this. Does this kind of thing happen in Access 2000? I remember COBOL and RPG, when you used a rounding command it rounded up to the next whole cent and was done.