Percentage

Reads and formats the percentage of a value to a specified number of decimal places.

Input Fields

  • percentage of: the number based on which a percentage is returned

  • value: the percentage amount to use in the calculation

  • precision: number of decimal places in the result

Output Fields

  • percentage: the result of the percentage calculation
  • encoded: the result in percentage format

Example

For a percentage of of 50, value of 25, and a precision of 2, the output is:

  • percentage: 12.5

  • encoded: 12.50%

See Also

Functions

About the elements of Okta Workflows