Hi I have a big string like this :
"999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999"
I wish to convert this string to long. But I failed. I did:
Long.parseLong(longString);
But I'm getting an error:
java.lang.NumberFormatException: For input string: "99999999.......
Are there any way to avoid this?