%dw 2.0
output application/json
---
[ sqrt(4), sqrt(25), sqrt(100) ]
DataWeave
sqrt
sqrt(Number): Number
Returns the square root of a number.
Parameters
Name | Description |
---|---|
|
The number to evaluate. |
Example
This example returns the square root of a number.
Source
Output
[ 2.0, 5.0, 10.0 ]
JSON