Java Math.rint() methodThe java.lang.Math.rint() is used to round the argument to nearest mathematical integer. SyntaxParameterReturn
Example 1Test it NowOutput: 82.0 Example 2Test it NowOutput: -37.0 Example 3Test it NowOutput: 80.0 80.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