String 의 static 메서드인 format 메서드 : 문자열의 형식을 설정
예시) double n = 123.45678;일 때 System.out.println(String.format("%.6f_", n)); 하면 출력 값이 123.456780_로 나옴.
double n = 123.45678;
System.out.println(String.format("%.6f_", n));
123.456780_