shraddhab
October 23rd, 2002, 04:26 AM
Hello All,
I am facing problem in converting string to number.
I have two strings...
strFrom = "123456789123456789123";
strTo = "123456789123456789130";
I converted them into integers......by using parseInt and Math.abs
But output of parseInt("123456789123456789123") is not proper integer output. Same is happening with Math.abs.
The difference of these two strings is supposed to be 7............. after converting into integers
but i am not able to get that................
can anyone help me...............
Thanks in advance..
Shraddha Biyani
I am facing problem in converting string to number.
I have two strings...
strFrom = "123456789123456789123";
strTo = "123456789123456789130";
I converted them into integers......by using parseInt and Math.abs
But output of parseInt("123456789123456789123") is not proper integer output. Same is happening with Math.abs.
The difference of these two strings is supposed to be 7............. after converting into integers
but i am not able to get that................
can anyone help me...............
Thanks in advance..
Shraddha Biyani