blockBoole

Yields 1, if u is true and 0 if it is false

Extends from Interfaces.PartialConverters.BooleanSIRealSO (Converter with single boolean input and single real output).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The real output y will be 1 if the boolean input u is true and 0 if it is false.

See also

NotZero

Connectors

TypeNameDefaultDescription
Connectors.BooleanInputu (from BooleanSIRealSO)Input

Components

TypeNameDefaultDescription
RealOutputy (from SO)