Math

Subtract one value from another using A-B block

Subtract one value from another in Centrldesk

The A-B block subtracts one value from another and returns the difference.

Example A:

library-math-minus-example-1

Input A with value 15 and Input B with value 10 calculate output value 5.

Result:

Difference of Input minuend A and Input subtrahend B.

Tips and best practices:

All mathematical blocks can calculate floating-point numbers. The separator is a dot, not a comma. Example: 2.7 - 1.5 = 1.2

The Sum block can be used with negative values.

Library:

Math

Similar posts

Subscribe to our newsletter

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