User Tools

Site Tools


function:RANDOM

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
function:RANDOM [2015/07/13 06:03]
peternlewis created
function:RANDOM [2019/07/04 03:27]
peternlewis
Line 1: Line 1:
-The RANDOM(N) ​function ​returns random real number from 0 to, but not including, N (defaults to 1).+The //​RANDOM()//​ functions return a random real number. 
 + 
 +* RANDOM() returns a random real number from 0 to, but not including, 1. 
 +RANDOM(N) returns ​random real number from 0 to, but not including, N
 +* RANDOM(A,Breturns (v9.0+) a random real number from A to, but not including, B. 
 + 
 +In the two parameter version, A must not equal B, and if B is less than A, they are implicitly swapped. 
 + 
 +===== See Also ===== 
 + 
 +==== Functions ==== 
 + 
 +* [[function:​RAND]] 
 +* [[:​Functions|See all Functions]] 
function/RANDOM.txt · Last modified: 2023/09/20 03:36 by peternlewis