← Math and Comparison

Sign Check

easy

Evaluates a numeric input and sets a flag indicating if it is negative, zero, or positive.

What it teaches

Detect whether a number is negative, zero, or positive. Compare the input to zero and produce three separate flags. A clean way to share a numeric decision with downstream logic — once a comparison is a BOOL, anything else can react to it.

Parameters

TagDirectionTypeDefaultDescription
In_ValueInputREAL0Numeric value to evaluate
Sts_NegativeOutputBOOL0Negative flag
Sts_ZeroOutputBOOL0Zero flag
Sts_PositiveOutputBOOL0Positive flag

Required behavior