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

float — Power Automate (WDL) function reference

Parse to floating point.

Syntax

wdl
float(value)

Examples

wdl
float('123.45')
→ 123.45
wdl
float(item()?['UnitPrice'])
→ 19.99
wdl
div(float(variables('total')), float(variables('count')))
→ A real decimal average, not a truncated integer

Common mistakes & gotchas

Related Workflow Definition Language functions

From Type conversion

Used in these tutorials

← Back to the Power Automate (WDL) cheat sheet