Percentage

Read and format the percentage of a value to a specified number of decimal places.

This function card is only available in Workflows Connector Builder.

Input

Field Definition Type Required
percentage of Number based on which a calculation is performed. Number FALSE
value Percentage amount to use in the calculation. Number FALSE
precision Number of decimal places in the result. Number FALSE

Output

Field Definition Type
percentage Result of the calculation. Number
encoded Result of the calculation in percentage format. String

Example

For a percentage of of 50, value of 25, and a precision of 2, the percentage output is 12.5 and the encoded output is 12.50%.

Related topics

Functions in Workflows

About the elements of Okta Workflows