I have a string bigger than 2,147,483,647 and I need to parse it. Integer.parseInt doesn't do they job, it throws an exception.
Integer.parseInt couldn't do the job, unless you were happy to lose data. Think about what you're asking for here.
Integer.parseInt
Try Long.parseLong(String) or new BigInteger(String) for really big integers.
Long.parseLong(String)
new BigInteger(String)
1.4m articles
1.4m replys
5 comments
57.0k users