Home › Forums › JavaScript › Adding two numbers issue › Reply To: Adding two numbers issue
September 30, 2013 at 4:35 pm
#151743
Alen
Participant
I’ve made some changes. Using parseFloat() in case you get floating point numbers: 2.45 + 4.56 for example… parseInt rounds the total, not what we want… we want precision.