1.2.0 permalink Arrow_down_16x16
  • (floor n)
(floor n) returns the greatest integer less than or equal to n.
If n is an exact number, floor returns an integer, otherwise a double.

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:129 top

(defmulti ^{:arglists '([n])
	     :doc "(floor n) returns the greatest integer less than or equal to n.
If n is an exact number, floor returns an integer, otherwise a double."}
  floor class)
Vars in clojure.contrib.math/floor: class defmulti
Used in 0 other vars

Comments top

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