|
-
October 23rd, 2002, 04:26 AM
#1
Converting string to number
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|