This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:randfloat [2013/01/14 19:11] – external edit 127.0.0.1 | crpl:docs:randfloat [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <- [[crpl: | ||
===== RandFloat | ===== RandFloat | ||
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | | |Random Float between 0 and 1 ||| FIXME ||| | + | | None |Random Float between 0 and 1 | - f1 | |
=== Description === | === Description === | ||
- | Pushes | + | Gives a random |
=== Examples === | === Examples === | ||
- | < | + | Gives a random angle between 0 and 2π. |
+ | < | ||
+ | ShowTraceLog | ||
+ | RandFloat 2 PI mul mul Trace | ||
+ | </ | ||