user=> (float 1) 1.0
(defn float "Coerce to float" {:inline (fn [x] `(. clojure.lang.RT (~(if *unchecked-math* 'uncheckedFloatCast 'floatCast) ~x))) :added "1.0"} [^Number x] (clojure.lang.RT/floatCast x))
Comments top
No comments for float. Log in to add a comment.