News for hackers. Stuff that matters.
Re:What every computer programmer should know about floating... by lightcatcher on Tuesday September 16, 2014 @01:10PM (#8325548)
I'm not very experienced in representing money in computer programs, but I thought the best practice was to store all values as integers (using either cents or smaller as your unit).

Any reason you chose to use doubles instead of integers or longs?

There are no comments on this comment yet.