---
title: Check if a value is greater than another
description: Check if a value is greater than another
---

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

# [Check if a value is greater than another](https://www.centrldesk.com/help/library-math-greaterthan)

 Written by [Sebastian](https://www.centrldesk.com/help/author/sebastian) | Apr 25, 2022 4:14:10 PM

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

Example A:

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:

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

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

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Sebastian"
  },
  "dateModified" : "2022-04-29T10:05:34.594Z",
  "datePublished" : "2022-04-25T16:14:10Z",
  "headline" : "Check if a value is greater than another using A > B block",
  "image" : {
    "@type" : "ImageObject",
    "height" : 520,
    "url" : "https://7836215.fs1.hubspotusercontent-na1.net/hubfs/7836215/library-math-greaterthan.png",
    "width" : 1900
  },
  "mainEntityOfPage" : "https://www.centrldesk.com/help/library-math-greaterthan",
  "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"
  }
}
```