---
schema_version: "1"
id: facfd664a0fdec811ca0e31404342315c12d60a6a55c0d15a48ca684a859a0ee
title: decimalSqrt
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.11/dw-math-functions-decimalsqrt.md
canonical_url: https://docs.mulesoft.com/dataweave/2.11/dw-math-functions-decimalsqrt
source_site: docs.mulesoft.com
content_type: documentation
content_hash: c6c8365bd9df77fb75b51f2d55d269b89109f120b3984d5b8dfb40737b218e9c
description: MuleSoft Documentation Site
release: "2.11"
latest: false
---
---
product: DataWeave
version: 2.11
---

# decimalSqrt

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## decimalSqrt(n: Number, ctx: OperationContext = DECIMAL\_128\_CONTEXT): Number

Returns a number that approximates the square root of the argument with rounding specified by the
operation context.
