S
Sooha Park Lee
I would like to compare two "double" numbers.
To overcome round-off error, I am using the following strategy:
rounding each number and try to convert it into interger by multiplying 10E6.
One example of number is 0.765543.
I do not want "ceil" or "floor".
Any idea will be welcome.
Can I find any smart code already existed on the web?
Thank you.
-Sooha
To overcome round-off error, I am using the following strategy:
rounding each number and try to convert it into interger by multiplying 10E6.
One example of number is 0.765543.
I do not want "ceil" or "floor".
Any idea will be welcome.
Can I find any smart code already existed on the web?
Thank you.
-Sooha