Difference between revisions of "Manuals/calci/RANDBETWEEN"
Jump to navigation
Jump to search
(Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Syntax </div></div> ---- <div id="2SpaceContent" align="left"><div class="ZEditBox" align=...") |
|||
Line 1: | Line 1: | ||
− | <div | + | <div style="font-size:30px">'''RANDBETWEEN(lt,ut)'''</div><br/> |
+ | *<math>lt</math> is the lower integer <math> ut</math> is the upper integer. | ||
− | |||
− | < | + | ==Description== |
− | + | *This function gives the random number in integers between the specified integers. | |
− | < | + | *In <math> RANDBETWEEN(lt,ut), lt</math> is the lower integer and <math>ut</math> is the upper integer this function will return. |
+ | *The generated random numbers are changing each time of the calculation. | ||
− | |||
− | + | ==Examples== | |
− | + | #RANDBETWEEN(-10,-1)=-8 | |
− | + | #RANDBETWEEN(-2,2)=0 | |
− | ---- | + | #RANDBETWEEN(15.1,50.4)=27 |
− | + | #RANDBETWEEN(1.1,1.7)=1 | |
− | |||
− | + | ==See Also== | |
− | + | *[[Manuals/calci/RAND | RAND ]] | |
− | |||
− | |||
− | |||
− | |||
− | + | ==References== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 23:32, 6 January 2014
RANDBETWEEN(lt,ut)
- is the lower integer is the upper integer.
Description
- This function gives the random number in integers between the specified integers.
- In is the lower integer and is the upper integer this function will return.
- The generated random numbers are changing each time of the calculation.
Examples
- RANDBETWEEN(-10,-1)=-8
- RANDBETWEEN(-2,2)=0
- RANDBETWEEN(15.1,50.4)=27
- RANDBETWEEN(1.1,1.7)=1
See Also