# Difference between revisions of "Manuals/calci/RANDINT"

Jump to navigation
Jump to search

(Created page with "randint") |
|||

Line 1: | Line 1: | ||

− | + | <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 | ||

+ | |||

+ | ==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 ]] |

## Revision as of 14:53, 19 April 2017

**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

- RANDINT(90) = 25
- RANDINT(765.23) = 610
- RANDINT(-987) = -894