The java floor function is one of the math or mathematical functions available in java math library.
Java double math floor.
Java floor function syntax.
See the java language specification for a discussion of floating point value sets.
This java tutorial shows how to use the floor double method of math class under java lang package.
Java floor method the method floor gives the largest integer that is less than or equal to the argument.
This method returns the largest closest to positive infinity double value that is less than or equal to the argument and is equal to a mathematical integer.
Note that the value of math ceil x is exactly the value of math floor x.
The java lang math floor returns the double value that is less than or equal to the argument and is equal to the nearest mathematical integer.
D 2 scalefactor rounded as if performed by a single correctly rounded floating point multiply to a member of the double value set.
A a value.