I'm parsing a string of 15 digits like this:
String str = "100004159312045";
int i = Integer.parseInt(str);
I'm getting an exception when doing so.
Why? What are the limitations for Integer.parseInt? What other options do I have for converting such long string to a number?