ClojureDocs

Nav

Namespaces

Clojure/Conj 2026 — Charlotte, NC — Sept 30 - Oct 2 Learn More & Get Tickets →

rand

clojure.core

Available since 1.0 (source)
  • (rand)
  • (rand n)
Returns a random floating point number between 0 (inclusive) and
n (default 1) (exclusive).