---
title: Subtract one value from another in Centrldesk
description: Subtract one value from another in Centrldesk
---

[Centrldesk help center ](https://www.centrldesk.com/help)

# [Subtract one value from another in Centrldesk](https://www.centrldesk.com/help/library-math-minus)

 Written by [Sebastian](https://www.centrldesk.com/help/author/sebastian) | Mar 31, 2022 7:47:08 AM

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

Example A:

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

[View full post](https://www.centrldesk.com/help/library-math-minus)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Sebastian"
  },
  "dateModified" : "2022-04-29T10:01:22.948Z",
  "datePublished" : "2022-03-31T07:47:08Z",
  "headline" : "Subtract one value from another using A-B block",
  "image" : {
    "@type" : "ImageObject",
    "height" : 520,
    "url" : "https://7836215.fs1.hubspotusercontent-na1.net/hubfs/7836215/library-math-minus.png",
    "width" : 1900
  },
  "mainEntityOfPage" : "https://www.centrldesk.com/help/library-math-minus",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "Centrldesk help center"
  }
}
```