Skip to main content

Overview

The percentage transformation multiplies a decimal value by 100 and formats it as a percentage string with the specified number of decimal places.

Syntax

percentage(<variable>, decimal=2)

Parameters

ParameterTypeRequiredDescription
variablenumberYesThe decimal value to convert to percentage (e.g., 0.75 becomes 75%)
decimalnumberYesNumber of decimal places in the output

Examples

percentage(<variable>, decimal=2)
percentage(<variable>, decimal=0)