Random Booleans

image\RandomSourcesBooleansForm.gif

 

True/False Output Distribution

Percent Output Values as True

Percent Output Values as False

Specify the distribution of true and false values.

Recalc Pct. Button

Click this button to show the true/false distribution values as percentages.

Example:

Percent Output Values as True = 100

Percent Output Values as False = 110

Click the Recalc Pct. Button to display distribution as percentages.

New values:

Percent Output Values as True = 47.6

Percent Output Values as False = 52.4

Boolean

Select this option to generate the output as Boolean values.

Numeric

Select this option to specify the true/false values in the output as numbers.

True Value

The number to assign when a true Boolean is generated.

False Value

The number to assign when a false Boolean is generated.

Number Type for the output:

Integer

Signed integers can have negative or positive values.

Unsigned integers can only have positive values.

Range of Values

Type

Signed

Unsigned

64-bit

–9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

0 to 18,446,744,073,709,551,615

32-bit

-2,147,483,648 to 2,147,483,647

0 to 4,294,967,295

16-bit

-32,768 to 32,767

0 to 65,535

8-bit

-128 to 127

0 to 255

 

Double, Float, Decimal

Range of Values

Type

Range

Precision

Double

±5.0 × 10−324 to ±1.7 × 10308

15-16 digits

Float

-3.4 × 1038to +3.4 × 1038

7 digits

Decimal

(-7.9 x 1028 to 7.9 x 1028) / (100 to 28)

28-29 significant digits

String

Option to produce true/false values as string values.

True Value

The string to assign when a true Boolean is generated.

Examples: “True”, “Yes”, “Approved”

False Value

The string to assign when a false Boolean is generated.

Examples: “False”, “No”, “Rejected”