# Manuals/calci/GENERATEBOOLEAN

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

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

## Related Videos

## See Also

## References