Rev 5921 | Rev 11212 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5921 | Rev 11210 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !! +var+ +random+ |
1 | !! +var+ +random+ |
- | 2 | tit:random |
|
2 |
|
3 | type:$type_var |
3 |
|
4 | alias:!randdouble, !randfloat |
4 |
|
5 | syntax:!random `n1' ,`n2' |
5 |
|
6 | mean:Returns a random real number between `n1' and `n2'. <br/>\ |
6 | n2 $emphend. <br/> |
- | |
7 | Substitution and evaluation are done on |
7 | Substitution and evaluation are done on `n1' and `n2' before applying random. <br/>\ |
8 | $emphend before applying random. <br/> |
- | |
9 | If |
8 | If `n2' is missing, returns random number between 0 and `n1'. <br/>\ |
10 | $emph n1 $emphend. <br/> |
- | |
11 | If both |
9 | If both `n1' and `n2' are missing, returns 0.<br/>\ |
12 | <br/> |
- | |
13 | You can also type <span class="tt">!random n1,n2 repeat i</span> to repeatedly |
10 | You can also type <span class="tt">!random n1,n2 repeat i</span> to repeatedly generate\ |
14 |
|
11 | `i' random numbers. |