Math

Check if a value is less than another using A < B block

Check if a value is less than another

The A<B block checks if one value is less than another.

Example A:

library-math-lesserthan-example-1

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

Example B:

library-math-lesserthan-example-2

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

Result:

True if the value A is less than the value B. If the value A is greater than the 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: 1.5 < 2.7

Library:

Math

Similar posts

Subscribe to our newsletter

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