0
0

add method of retrieving random float (rand command)

This commit is contained in:
DrMaxNix 2022-10-01 19:50:57 +02:00
parent 92ae1f752d
commit 19e51a8f31

View File

@ -225,6 +225,9 @@ time $1
# get formated time => $1 # get formated time => $1
time $1 "YYYY-MM-DD" time $1 "YYYY-MM-DD"
# get random float between 0.0 and 1.0 => $1
rnd|rand|random $1
# get random integer between 0 and 3 => $1 # get random integer between 0 and 3 => $1
rnd|rand|random $1 3 rnd|rand|random $1 3