what is math.rint(3.5)??

Math.rint() function in JAVA | ICSE

The Java Math rint() method returns a value that is closest to the specified value and is equal to the mathematical integer. That is, if the specified value is 5.8, the closest value that is equal to the mathematical integer is 6.0.

ROUND FUNCTION AND RINT FUNCTION OF MATHEMATICS CLASS IN JAVA | ICSE CLASS 9 CHAPTER 4

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.