Chạy ❯
Nhận máy chủ
Java của riêng
bạn
×
Thay đổi định hướng
Thay đổi chủ đề, Tối/Sáng
Đi tới Không gian
public class Main { public static void main(String[] args) { System.out.println(Math.floor(0.60)); System.out.println(Math.floor(0.40)); System.out.println(Math.floor(5)); System.out.println(Math.floor(5.1)); System.out.println(Math.floor(-5.1)); System.out.println(Math.floor(-5.9)); } }
0,0
0,0
5.0
5.0
-6.0
-6.0