Skip to content

clojure.core/rand

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 2 Runnable: 2
([] [n])

Returns a random floating point number between 0 (inclusive) and n (default 1) (exclusive).

Examples

by devijvers on
by zk on

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.