public class MainClass{ public static void main(String[] argv){ System.out.println(Math.round(1.2F)); System.out.println(Math.round(-1.2F)); } }