> For the complete documentation index, see [llms.txt](https://docs.kognitos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kognitos.com/legacy/legacy-experience/automation-areas/numbers/reduce-a-number-by-a-percentage.md).

# Reduce a Number by a Percentage

## Overview

This procedure reduces a number by a percentage. For example:

* **Number:** 100
* **Percentage:** 10%
* **Reduction:** 100 reduced by 10% = 90

## Syntax

This procedure supports two different syntaxes.

#### Option 1

```
the num is {value}
the percentage is {percent}
reduce the num by the percentage
```

#### Option 2

```
reduce a number by a percentage where
  the num is {value}
  the percentage is {percent}
```

## Data

The table below lists the names of the data elements in this operation and indicates which can be renamed in the syntax.

| Data Name      | Can Be Renamed |
| -------------- | -------------- |
| the num        | No             |
| the percentage | No             |

## Parameters

**Parameters** are placeholders for data. Refer to the table below for details on each parameter in this operation. In the syntax, replace parameters with your own values.

<table data-header-hidden><thead><tr><th width="123.6953125">Parameter</th><th>Description</th><th>Examples</th><th>Required</th></tr></thead><tbody><tr><td><code>value</code></td><td>The number to be reduced (integer or decimal).</td><td><ul><li>100</li><li>56.2</li></ul></td><td>Yes</td></tr><tr><td><code>percent</code></td><td>The percentage to reduce the number by (integer or decimal).</td><td><ul><li>20</li><li>20.5</li></ul></td><td>Yes</td></tr></tbody></table>

## Examples

#### 1. Using the first syntax

{% tabs %}
{% tab title="Automation" %}

```
the num is 100
the percentage is 10
reduce the num by the percentage
```

{% endtab %}

{% tab title="Results" %}
90
{% endtab %}
{% endtabs %}

#### 2. Using the second syntax

{% tabs %}
{% tab title="Automation" %}

```
reduce a number by a percentage where
  the num is 100
  the percentage is 30
```

{% endtab %}

{% tab title="Results" %}
70
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.kognitos.com/legacy/legacy-experience/automation-areas/numbers/reduce-a-number-by-a-percentage.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
