what is rint in java
Answers
Answered by
2
rint is a math function in java which is used to find to find the truncated value of a number
e.g-Math.rint(17.99)
e.g-Math.rint(17.99)
Answered by
3
Math. rint is a mathematical function used in Java to find the closest or truncated value of the variable.
For example :-
Math.rint(2.50)
Output would be 2.0
For example :-
Math.rint(2.50)
Output would be 2.0
Similar questions