Are there any good JavaScript currency or decimal classes?
Instead of using integers (which have their own problems)
I would use the bignumber.js library
Integers.
There is no need to use floating-point for currency. Use fixed-point, where the number of decimal points is 0.
You count in pennies (or possibly in tenths of pennies).