LogoLogo
About
  • Home
  • Guides
  • BDK
  • REST API
  • Numbers
    • Overview
  • Increase a Number by a Percentage
  • Reduce a Number by a Percentage
Powered by GitBook
On this page
  • Overview
  • Syntax
  • Data
  • Parameters
  • Examples

Was this helpful?

Export as PDF

Increase a Number by a Percentage

This procedure increases a number by a percentage.

Overview

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

  • Number: 100

  • Percentage: 10%

  • Increase: 100 increased by 10% = 110

Syntax

This procedure supports two different syntaxes.

Option 1

the num is {value}
the percentage is {percent}
increase the num by the percentage

Option 2

increase 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

value

The number to be increased (integer or decimal).

  • 100

  • 62.7

Yes

percent

The percentage to increase the number by (integer or decimal).

  • 20

  • 30.5

Yes

Examples

1. Using the first syntax

the num is 100
the percentage is 10
increase the num by the percentage

110

2. Using the second syntax

increase a number by a percentage where
  the num is 100
  the percentage is 30

130

Last updated 1 month ago

Was this helpful?