Get a floating point random number, in the range of 0…1.
float absrand <void>
None.
A floating-point random number, in the range of 0…1.
// write random number to event log 10 times int i set i 0 do echo <zs:absrand> incr i while <zs:islt i 10>
… the output of which is written to the event log by echo as:
0.875973 0.726676 0.955901 0.925718 0.539354 0.142338 0.462081 0.235328 0.862239 0.209601
None.