LOTUSSCRIPT LANGUAGE


Examples: Rnd function
Randomize -1
Print Rnd(); Rnd(); Rnd(); Rnd(); Rnd()
' Output:
' 7.548905E-02  .5189801  .7423341  .976239  .3883555
Randomize -1
Print Rnd(0)
' Output:
' .3142746
Print Rnd(); Rnd(); Rnd(); Rnd(); Rnd()
' Output:
' 7.548905E-02  .5189801  .7423341  .976239  .3883555
Print Rnd(-1)
' Output:
' .3142746
Print Rnd(-2); Rnd(0)
' Output:
' .6285492  .6285492

See Also