Re: This calculation is just wrong / computer can't count!

On Mon, 8 Oct 2007 10:37:22 +0100, "GT"
<ContactGT_remove_@xxxxxxxxxxx> wrote:

What is 25/30?

25/30 = 5/6 and that is as accurate an answer as you can get. It is
EXACT. The decimal number you get from a calculator is only an
approximation. The math in calculators is carried out to some number
of digits but it displays far fewer digits than it calculates, this
makes life simple for people like you.

Use CString::Format("%15f", result); to display your number.