diff options
author | Rich Hickey <richhickey@gmail.com> | 2009-04-10 00:28:35 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2009-04-10 00:28:35 +0000 |
commit | 1e7cdd7520000aa7a052b0e756bd6c6d717f3281 (patch) | |
tree | 37bf5123c1df73ac656250c6e48b05fead0a25e1 | |
parent | 2ffbfb7bf484cdbc5183095986025f3bb1551a8a (diff) |
fixed doc for rand [issue 91]
-rw-r--r-- | src/clj/clojure/core.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj index ac7d94eb..91dfbf62 100644 --- a/src/clj/clojure/core.clj +++ b/src/clj/clojure/core.clj @@ -2892,7 +2892,7 @@ (defn rand "Returns a random floating point number between 0 (inclusive) and - 1 (exclusive)." + n (default 1) (exclusive)." ([] (. Math (random))) ([n] (* n (rand)))) |