JAVA int to string with ZERO ‘0’ 화이트앳2016-08-310 목차 Toggle문자열(string )처리int to string with ZERO ‘0’char to String 문자열(string )처리 int to string with ZERO ‘0’ 숫자를 ‘0’에 자리수에 맞춰 문자열로 변환하는 방법입니다. int val = 25; String strNum = String.format(“%04d”, val); strNum =”0025″; char to String String chString=Character.toString(‘a’);