Difference between revisions of "Manuals/calci/RANDBETWEEN"

From ZCubes Wiki
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=...")
 
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
<div style="font-size:30px">'''RANDBETWEEN (Min,Max)'''</div><br/>
 +
*<math>Min</math>  is the lower integer. 
 +
*<math>Max</math> is the upper integer.
 +
**RANDBETWEEN(), returns a random number between the numbers you specify
  
Syntax
+
==Description==
 +
*This function gives the  random number in integers between the specified integers.
 +
*In <math> RANDBETWEEN (Min,Max)</math>, <math>Min</math> is the Lower Integer and <math>Max</math> is the Upper Integer this function will return.
 +
*The generated random numbers are changing each time of the calculation.
  
</div></div>
+
==Examples==
----
+
#=RANDBETWEEN(-10,-1) = -8
<div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
#=RANDBETWEEN(-2,2) = 0
 +
#=RANDBETWEEN(15.1,50.4) = 27
 +
#=RANDBETWEEN(1.1,1.7) = 1
  
Examples
+
==Related Videos==
  
</div></div>
+
{{#ev:youtube|PiyApfbQ41c|280|center|RANDBETWEEN}}
----
 
<div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
 
----
 
<div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
 
  
<font size="5">Description</font>
+
==See Also==
 +
*[[Manuals/calci/RAND  | RAND ]]
  
</div></div>
+
==References==
----
+
*[http://www.techonthenet.com/excel/formulas/randbetween.php Randbetween]
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman"><font size="6"> <font size="6">RANDBETWEEN</font> <font size="6"> </font> </font></font>'''</div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><br /><div id="9Space" class="gamizbox" title="9Space"><div id="9SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="9SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="9SpaceRollupContent" align="center"></span></span></div><div id="9SpaceCover"><div id="9SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
  
<font size="3"><font face="Times New Roman">Let’s see an example in (Column1 Row 1, Column2 Row 1)</font></font>
 
  
<font size="3">RANDBETWEEN (B, T)</font>
 
  
<font size="3">RANDBETWEEN (C1R1, C2R1)</font>
 
  
<font size="3">ie. =RANDBETWEEN (20,100) is a random number between 20 and 100.</font>
+
*[[Z_API_Functions | List of Main Z Functions]]
  
</div></div>
+
*[[ Z3 Z3 home ]]
----
 
<div id="5SpaceContent" class="zcontent" align="left"><br /><div id="1Space" class="gamizbox" title="1Space"><div id="1SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="1SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="1SpaceRollupContent" align="center"></span></span></div><div id="1SpaceCover"><div id="1SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
 
 
<font size="3"><font face="Times New Roman">It calculates a random integer number berween the numbers which we specify.</font></font>
 
 
 
<font size="3" face="Times New Roman"> </font>
 
 
 
</div></div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><br /><div id="7Space" class="gamizbox" title="7Space"><div id="7SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="7SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="7SpaceRollupContent" align="center"></span></span></div><div id="7SpaceCover"><div id="7SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="3" face="Times New Roman"> </font>'''RANDBETWEEN'''('''B,T''')
 
 
 
'''B'''   is the smallest integer and '''T'''   is the largest integer.
 
 
 
</div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div>
 
 
 
{| id="TABLE1" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| Column1
 
| class="      " | Column2
 
| class="    " | Column3
 
| class="  " |
 
| class="  " | Column4
 
|
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | 20
 
| class="sshl_f" | 100
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f" | 74
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
|- class="odd"
 
| Row3
 
| class="sshl_fSelectTD SelectTD " |
 
<div id="4Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="4Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="   " |
 
| class="sshl_f" |
 
|
 
|- class="even"
 
| Row4
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
| class=" " |
 
| class="sshl_f" |
 
|
 
|- class="odd"
 
| Row6
 
| class="sshl_f  " |
 
<div id="4Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| class="sshl_f" |
 
|
 
| class="sshl_f" |
 
|
 
|
 
|}
 
 
 
<div align="left"></div>''''''</div></div>
 
----
 
</div></div></div></div></div></div></div></div></div>
 

Latest revision as of 15:56, 28 June 2018

RANDBETWEEN (Min,Max)


  • is the lower integer.
  • is the upper integer.
    • RANDBETWEEN(), returns a random number between the numbers you specify

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

  1. =RANDBETWEEN(-10,-1) = -8
  2. =RANDBETWEEN(-2,2) = 0
  3. =RANDBETWEEN(15.1,50.4) = 27
  4. =RANDBETWEEN(1.1,1.7) = 1

Related Videos

RANDBETWEEN

See Also

References