[Java 소스] float 형식 Program.java public class Program { public static void main(String[] args){ exByte(); } private static void exByte() { System.out.println("byte 형식"); byte b = 127; b = (byte)(b+1); System.out.println(b); b = (byte)(b-1); System.out.println(b); }}실행 결과float 형식0.70000005 0.8000001 본문[Java] 2.1.4 실수형