---
schema_version: "1"
id: 228300acc356cb7868faf13a5f1176b270bee8000eefbf810fd8df06277f4335
title: decimalRound
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.12/dw-math-functions-decimalround.md
canonical_url: https://docs.mulesoft.com/dataweave/2.12/dw-math-functions-decimalround
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 5cf392c6b0acd721b7dba680edb91972b0fc7ec9b90425d07ee5ea2836736253
description: MuleSoft Documentation Site
release: "2.12"
latest: false
---
---
product: DataWeave
version: 2.12
---

# decimalRound

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

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

Returns the argument number with rounding specified by the operation context.
