Computer Science, asked by shw123, 1 year ago

what is rint in java

Answers

Answered by Disha234
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)
Answered by Satan2002
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
Similar questions