Roboteka
Roboteka · Catalog · Percentage of a number

Percentage of a number

Calculates a percentage of a number, adds or subtracts a percentage. E.g.: 15% discount, 20% VAT, markup.

Calculates a percentage of a number, adds or subtracts a percentage. E.g.: 15% discount, 20% VAT, markup.

What input parameters does the robot accept?

Parameter Type Required? Default
Number string yes
Percentage string yes
Operation: of — N% of the number, add — number + N%, subtract — number − N% string
Decimal places in result (default 2) int

What does the robot return?

Parameter Type
Result string
Percentage value (N% of the number) string

Related robots