%d
Data Type: Decimal byte, short, int, long
Example Usage:
String temp = String.format("%d", 29);
System.out.println(temp); // 29
%[Number]d
Data Type: Decimal byte, short, int, long
Example Usage:
String temp = String.format("%5d", 29);
System.out...