I\'m creating a budget application with javascript. I have to let javascript do most of the operations. So I have some controls where the user changes the desired amount for
Always with currency keep track of it as integers internally. All operations should be done on integers. Only have the decimal for display.
check out this fiddle if you are thinking about using decimal points to keep track of money.