A
Arne Vajhøj
Andrew said:I have heard that if dealing with $, one should use 'cents'.
Or rather, use in int representation of cents, and only format
to dollars on output. Thoughts?
int is also used, but more work to do yourself. And rounding
can be tricky.
Oh - and always long - never int - 2 billion cents is just
20 million dollars.
Arne