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
|