How to format a Java int or long with printf example
Java String format()
Java Programs Library - Below example shows how to convert string format of a number to number without calling Integer.parseInt() method. We can do this by converting each character into ascii format