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

CompareNumbers Op

Ops.Math.Compare.CompareNumbers


CompareNumbers
Namespace: Ops.Math.Compare

Op author: andro

Performs logical comparisons on numbers (compare, operators)


summary (oneliner)

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


doc

issues

youtube id

caniuse query

collections

related ops

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 Documentationcancel save

CompareNumbers example

Open Example In Editor


Changelog


created op
2020-01-02 - andro

Examples using CompareNumbers ()

Public Patches using CompareNumbers ()