Floating point to integer?
View Single Post
01-28-2008, 08:37 PM
Join Date: Jan 2008
Actually, that isn't rounding down is -13.98 yields 13, that's just dropping the decimal value. -13.98 rounds down to -14, not -13. Technically that should be a call to
(), but the results are disparate.
Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning.
- Rich Cook
View Public Profile
Send a private message to RobertK
Find More Posts by RobertK