Topic: JavaScript Calculator - Comma problems

I've got a simple JavaScript calculator that's causing some problems.

It works great when I don't use commas, but when a comma is added the calculating breaks. Also, it would be great to automatically add commas to the end result number.

The calculator can be found here: … alculator/

Re: JavaScript Calculator - Comma problems


Are you still having problems? When you say the calculating breaks, do you mean it is giving you an error or just that the result of the calculation is incorrect?

Exercise your faith!