Math

Compare if two values are equal using A=B block

Compare if two values are equal

The A=B block compares if two values are identical.

Example A:

library-math-equals-example-1-1

Input A with the value 5 and the input B with the value 5 evaluates to true.

Example B:

library-math-equals-example-2-1

Input A with the value 5 and the input B with the value 10 evaluates to false.

Result:

The result is true if the values are equal. If the values are not equal, 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.