Difference between revisions of "Manuals/calci/RANDINT"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "randint")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
randint
+
<div style="font-size:30px">'''RANDINT (Max)'''</div><br/>
 +
*<math>Max</math> is the final limit value.
 +
 
 +
==Description==
 +
*This function gives the Integer value randomly.
 +
*In <math>RANDINT (Max)</math>,<math>Max</math> is any real number.
 +
*Here Max is the maximum limit value of the number.
 +
*When Max is the positive real number then function will return the result in the positive integer value.
 +
*When Max is the negative real number then function will returns the result in negative Integer value.
 +
 
 +
==Examples==
 +
#RANDINT(90) = 25
 +
#RANDINT(765.23) = 610
 +
#RANDINT(-987) = -894
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|v=YOc7gQ18-Uo|280|center|Integers}}
 +
 
 +
==See Also==
 +
*[[Manuals/calci/RAND | RAND]]
 +
*[[Manuals/calci/RANDBETWEEN | RANDBETWEEN]]
 +
 
 +
==References==
 +
*[http://www.techonthenet.com/excel/formulas/randbetween.php Rand]
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 14:06, 28 January 2019

RANDINT (Max)


  • is the final limit value.

Description

  • This function gives the Integer value randomly.
  • In , is any real number.
  • Here Max is the maximum limit value of the number.
  • When Max is the positive real number then function will return the result in the positive integer value.
  • When Max is the negative real number then function will returns the result in negative Integer value.

Examples

  1. RANDINT(90) = 25
  2. RANDINT(765.23) = 610
  3. RANDINT(-987) = -894

Related Videos

Integers

See Also

References