Java Math.floor() methodThe java.lang.Math.floor() is used to find the largest integer value which is less than or equal to the argument and is equal to the mathematical integer of a double value. SyntaxParameterReturn
Example 1Test it NowOutput: 94.0 Example 2Test it NowOutput: -40.0 Example 3Test it NowOutput: 0.0 Example 4Test it NowOutput: -Infinity Next TopicJava Math |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India