Difference between revisions of "Manuals/calci/RANDOM"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<div style="font-size:30px">'''RANDOM(MaxNumber)'''</div><br/>
 
<div style="font-size:30px">'''RANDOM(MaxNumber)'''</div><br/>
**RANDOM(),returns a random number with a value less than ''MaxNumber'' specified.
+
*RANDOM(),returns a random number with a value less than ''MaxNumber'' specified.
  
 
==Description==
 
==Description==

Latest revision as of 05:04, 23 May 2020

RANDOM(MaxNumber)


  • RANDOM(),returns a random number with a value less than MaxNumber specified.

Description

  • This function gives the real numbers, circulated in a uniformed way.
  • The random numbers generate a sequence of numbers randomly.
  • The generated random numbers are changing each time of the calculation.
  • If MaxNumber is not specified, random number between 0 and 1 is displayed.


Examples

1) RANDOM(3) = 1.55062430785339

2) RANDOM(|2|) =

MaxNumber RANDOM
1 0 0.9354179973956638 -0.047590545167235376
0 1 -0.3112243800619441 0.7250106307199662


3) RANDOM(5)+25 = 29.49502665283281

Related Videos

RAND

See Also


References