Difference between revisions of "Manuals/calci/RANDNUM"

From ZCubes Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
==Description==
 
==Description==
 
*This function shows the Integer value Randomly.  
 
*This function shows the Integer value Randomly.  
*In <math>RANDNUM(Max)</math>,<math>Max</max> is any real number.
+
*In <math>RANDNUM(Max)</math>,<math>Max</math> is any real number.
 
*Here Max is the maximum limit value of the number.
 
*Here Max is the maximum limit value of the number.
 
*When Max is the positive real number then function will return the result either in positive or negative  integer value.
 
*When Max is the positive real number then function will return the result either in positive or negative  integer value.

Revision as of 13:52, 21 April 2017

RANDNUM (Max)


  • is the final limit value.

Description

  • This function shows 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 either in positive or negative integer value.
  • So this function will return as the whole number either positive ,negative or zero.

Examples

  1. RANDNUM(65) = 54
  2. RANDNUM(-90) = -7
  3. RANDNUM(78.5) = 48

See Also


References