I am working on a calculator in javascript, where user can enter the values in textfield and operation will be performed. Now if user enters a very large value for example 5345345345353453453453535 it is converted to 5.345345345353453e+24
I am using parsrInt() to convert it to integers. and it gives me 5. which is wrong . Can anybody suggest how to solve it?