Skip to main content

rint

functionv1.11

clojure.math/rint

Available in:BBCLJ
(rint [a])
Returns the double closest to a and equal to a mathematical integer. If two values are equally close, return the even one. If a is ##NaN or ##Inf or ##-Inf or zero => a See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#rint-double-

No examples yet. Be the first to add one!