Java tutorial
public class Main { public static void main(String[] args) { System.out.println(Math.floor(70)); System.out.println(Math.floor(31.1)); System.out.println(Math.floor(12.5)); System.out.println(Math.floor(-10)); System.out.println(Math.floor(-12.4)); System.out.println(Math.floor(0)); } }