Reduce a Number by a Percentage
This operation reduces a number by a percentage.
Overview
This operation reduces a number by a percentage. For example:
- Number: 100
- Percentage: 10%
- Reduction: 100 reduced by 10% = 90
Syntax
This operation 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.
Parameter | Description | Examples | Required |
---|---|---|---|
| The number to be reduced (integer or decimal). |
| Yes |
| The percentage to reduce the number by (integer or decimal). |
| Yes |
Examples
1. Using the first syntax
the num is 100
the percentage is 10
reduce the num by the percentage
90
2. Using the second syntax
reduce a number by a percentage where
the num is 100
the percentage is 30
70
Updated 30 days ago