3 ms·
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
by lightcatcher 12y ago
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?