JAVA Math.round()

public class KY6_4 {
	public static void main(String args[]) {
                 System.out.println (Math.round (3.8));            
		 System.out.println (Math.round (3.2));
	}
}
4
3


猜你喜欢

转载自blog.csdn.net/abc1498880402/article/details/80667428