I\'m parsing a string of 15 digits like this:
String str = \"100004159312045\"; int i = Integer.parseInt(str);
I\'m getting an exception wh
Your number is too large to fit in an int which is 32 bits and only has a range of -2,147,483,648 to 2,147,483,647.
int
Try Long.parseLong instead. A long has 64 bits and has a range of -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.
long