Subversion Repositories wimsdev

Rev

Rev 11224 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11224 Rev 11292
Line 4... Line 4...
4
alias:randdouble, randfloat
4
alias:randdouble, randfloat
5
syntax:!random `n1', `n2'
5
syntax:!random ``n1'', ``n2''
6
mean:Returns a random real number between `n1' and `n2'. <br/>\
6
mean:Returns a random real number between ``n1'' and ``n2''. <br/>\
7
  Substitution and evaluation are done on `n1' and `n2' before applying random. <br/>\
7
  Substitution and evaluation are done on ``n1'' and ``n2'' before applying random. <br/>\
8
  If `n2' is missing, returns random number between 0 and `n1'. <br/>\
8
  If ``n2'' is missing, returns random number between 0 and ``n1''. <br/>\
9
  If both `n1' and `n2' are missing, returns 0.<br/>\
9
  If both ``n1'' and ``n2'' are missing, returns 0.<br/>\
10
  You can also type <span class="tt">!random `n1',`n2' repeat `i'</span> to repeatedly generate\
10
  You can also type <span class="tt">!random ``n1'',``n2'' repeat ``i''</span> to repeatedly generate\
11
  `i' random numbers.
11
  ``i'' random numbers.