Erel:
Not sure if this is a bug or not but I'm using the code for TapeCalc in the contributions section and when I multiply 3 * 1.2 the answer I get is:
3.5999999999999996
instead of 3.6 which, of course, is the correct answer...
I tried it on multiples of 3 and it gives similar answers...
This code:
Result=Result*Val
does the math. The variables are both doubles which should be right...
Do you think it's an internal bug or am I doing something wrong?
--Steve
Not sure if this is a bug or not but I'm using the code for TapeCalc in the contributions section and when I multiply 3 * 1.2 the answer I get is:
3.5999999999999996
instead of 3.6 which, of course, is the correct answer...
I tried it on multiples of 3 and it gives similar answers...
This code:
Result=Result*Val
does the math. The variables are both doubles which should be right...
Do you think it's an internal bug or am I doing something wrong?
--Steve