Cheat Sheets/Power Automate/mul / div
Power Automate (WDL) function

mul / divPower Automate (WDL) function reference

Multiply or divide.

Syntax

wdl
mul(multiplicand1, multiplicand2) / div(dividend, divisor)

Examples

wdl
div(variables('total'), 2)
A number
wdl
mul(item()?['UnitPrice'], item()?['Quantity'])
A line total
wdl
div(float(variables('completed')), float(variables('totalTasks')))
A completion ratio between 0 and 1

Common mistakes & gotchas

Related Workflow Definition Language functions

From Math

← Back to the Power Automate (WDL) cheat sheet