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

# decimalDivide

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

## decimalDivide(dividend: Number, divisor: Number, ctx: OperationContext = DECIMAL\_128\_CONTEXT): Number

Performs number division with rounding specified by the operation context. If precision is set to 0
(unlimited precision) and the result has an infinite decimal expansion, the function returns an
error.
