Javascript Calculator Keeps Concatenating Calculation Results With First Number Entered For Next Calculation June 08, 2024 Post a Comment Solution 1: You are concatenating strings. You should have a look at parseInt / parseFloat; watch out for the radix, otherwise JavaScript will try to guess it... Share You may like these postsTrigger A Button Click From A Non-button ElementJquery .height() Outputting Same Value As .scrollheight On Div With Overflow:auto (ie8)In Firefox And Ie How Can Change The Cursor While Dragging Over Different Targets?Iframe Doesn't Stop To Loading Post a Comment for "Javascript Calculator Keeps Concatenating Calculation Results With First Number Entered For Next Calculation"