I'm reading in a value from a file to a double, which was written out as a double (625.20)
The double is coming in as: 625.20000000000005
I have tried near everything (including everything I was able to find on StackExchange) to get this to drop the digits after hundredths, but to no avail.
I've tried using floor, I've tried multiplying by 100 then casting to an int then casting back to double, nothing seems to work.
Any ideas?
Thanks!