Math

Check if a value is greater than another using A > B block

Check if a value is greater than another

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

Example A:

library-math-greaterthan-example-1

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:

library-math-greaterthan-example-2

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

Similar posts

Subscribe to our newsletter

Stay up to date on upcoming news and topics of creating web apps without code.