• 02 September

    Java Math floor example

    Java math floor function is used to get largest integer which is lesser than number. Syntax [crayon-686e5a3ba5576119952125/] Example Let’s use math’s floor function in the example. [crayon-686e5a3ba557c672617935/] When you run above program, output of the program will be: Ceil value for 2.6 = 3.0 Ceil value for 26.1 = 27.0 Ceil value for -0.8 = […]