Cheat Sheets/Power Automate/decimal
Power Automate (WDL) function

decimalPower Automate (WDL) function reference

Exact decimal value.

Syntax

wdl
decimal(value)

Examples

wdl
decimal('19.99')
A decimal
wdl
mul(decimal(item()?['UnitPrice']), decimal(item()?['Quantity']))
An exact decimal line total

decimal() compares by value, not by the original string representation.

wdl
equals(decimal('10.00'), decimal('10.0'))
true

Common mistakes & gotchas

Related Workflow Definition Language functions

From Type conversion

Used in these tutorials

← Back to the Power Automate (WDL) cheat sheet