I'm working on Sum and running into a wierd problem... I don't want to compromise what anyone else is working on, so no code, but here are the results of the program...
C:\JavaSource\CattleDrive>
java Sum
0.0
0.1
0.2
0.30000000000000004
0.4
0.5
0.6
0.7
0.7999999999999999
0.8999999999999999
0.9999999999999999 is not equal to 100
Can someone who's been there point me in the right direction? I've read what I could find on double and floating point math, but sheesh it shouldn't be doing this!
Thanks!
------------------
Joel Cochran