개발/java

02 0으로 값을 채우기

철권 2018. 9. 5. 16:53
728x90

int num= 5; 

String suffix = String.format("%02d", num); 

728x90
반응형