Java tutorial
/* * Output: The floor of 45.7 is 45.0 */ public class MainClass { public static void main(String args[]) { System.out.println("The floor of 45.7 is " + Math.floor(45.7)); } }