Difference between revisions of "Manuals/calci/GENERATEBOOLEAN"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''GENERATEBOOLEAN(Range, HowMany)'''</div><br/> *<math>Range</math> is the range between which numbers are displayed. *<math>HowMany</math> is the...")
 
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
#GENERATEBOOLEAN(3,4) = 0 0 0 0
+
#GENERATEBOOLEAN(3,4) = 1 0 1 0  
#GENERATEBOOLEAN(20,6) = 0 0 0 0 0 0
+
#GENERATEBOOLEAN(20,6) = 1 0 1 1 1 1
#GENERATEBOOLEAN(-45,7) = 0 0 0 0 0 0 0
+
#GENERATEBOOLEAN(45,1) = 1 1 0 0 1 0 0 0 1 1 0
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|v=eNjaS0R7O5w|280|center|Boolean}}
  
 
==See Also==
 
==See Also==

Latest revision as of 13:41, 2 May 2019

GENERATEBOOLEAN(Range, HowMany)


  • is the range between which numbers are displayed.
  • is the count as how many numbers are to be displayed.

Description

  • This function shows the Boolean values with in the given range of values.
  • In , is the range between which numbers are displayed.
  • is the count as how many numbers are to be displayed.
  • In Boolean type there are two values only,they are 0 and 1.
  • So this function displays 0 and 1 with the given number of counts.

Examples

  1. GENERATEBOOLEAN(3,4) = 1 0 1 0
  2. GENERATEBOOLEAN(20,6) = 1 0 1 1 1 1
  3. GENERATEBOOLEAN(45,1) = 1 1 0 0 1 0 0 0 1 1 0

Related Videos

Boolean

See Also

References