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

# decimalSubtract

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

## decimalSubtract(lhs: Number, rhs: Number, ctx: OperationContext = DECIMAL\_128\_CONTEXT): Number

Performs number subtraction with rounding specified by the operation context.
