Hi,
Why does the following piece of code five an answer of 0.999999999 rather than an answer of 1?

Code:
OnePenceCoins = (0.76 - (0.5 * 1 + 0.2 * 1 + 0.1 * 0 + 0.05 * 1 + 0.02 * 0)) / 0.01
what this equate to is 0.01 / 0.01, so why is it giving me the wrong answer?
I have tried it with the divide sign the other way around i.e. \ but it complains about dividing by zero. And I havetried using Fix() but that gives an anser of 0.

How can I get it to give the correct answer of 1?
Any help would be appreciated,
littlefitzer