beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

CompareNumbers Op



CompareNumbers
Namespace: Ops.Math.Compare

Op author: andro

Performs logical comparisons on numbers (compare, operators)


The following modes are available
If any of the following evaluates to true then the output is 1 else 0

>  Greater than
<   Less than
>=  Greater Than or equal
<=  Less than or equal 
==   Equals
!=    Not equal to 
><    Between
>=<  Between or equals


Inputs

Comparison mode index (integer /Number)

Pick a mode with an integer

Value in (Number)

Number in to check

Condition value (Number)

Becomes min when between mode enabled

Max (Number)

Becomes max when between mode enabled

Outputs

Result (Number)

Outputs 1 for true 0 for false


Caught a mistake or want to contribute to the documentation?

Edit Documentation 

CompareNumbers example


Patches using CompareNumbers

  • Examples
  • Public
  • My Patches

Changelog


created op
2020-01-02 - andro