Centrldesk help center

Check if a value is greater than another

Written by Sebastian | Apr 25, 2022 4:14:10 PM

The A>B block checks if one value is greater than another.

Example A:

Input A with value 5 and input B with value 10 is evaluated as false because value A is less than value B.

Example B:

Input A with value 15 and input B with value 10 is evaluated as true because value A is greater than value B.

Result:

True if value A is greater than value B. If value A is less than value B, false is evaluated.

Tips and best practices:

All mathematical blocks can calculate floating-point numbers. The separator is a dot, not a comma. Example: 3.7 > 1.7

Library:

Math