• (round n)
(round n) rounds to the nearest integer.
round always returns an integer. Rounds up for values exactly in between two integers.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/math.clj:153 top

(defmulti ^{:arglists '([n])
	     :doc "(round n) rounds to the nearest integer.
round always returns an integer.  Rounds up for values exactly in between two integers."}
  round class)
Vars in clojure.contrib.math/round: class defmulti
Used in 0 other vars

Comments top

No comments for round. Log in to add a comment.