Skip to main content

Overview

This function returns the percentage of a number.

Parameters

percent(percent, base)
  • Percent: The percentage value to calculate.
  • Base: The number to calculate the percentage from.

Example

percent(25, 200)
Returns 50 (25% of 200).
I