---
schema_version: "1"
id: e126013b4912116f5858c50b578d49ffcdd398297ebf68cbd07ff5791be78d67
title: Math Variables (dw::util::Math)
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.11/dw-math-variables.md
canonical_url: https://docs.mulesoft.com/dataweave/2.11/dw-math-variables
source_site: docs.mulesoft.com
content_type: documentation
content_hash: ab6969b71c56f5e43505e94a3f6f2379d9c5d6552abd85a7890fa9425f4f79d8
description: MuleSoft Documentation Site
release: "2.11"
latest: false
---
---
product: DataWeave
version: 2.11
---

# Math Variables (dw::util::Math)

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

<table><colgroup><col> <col> <col></colgroup><thead><tr><th>Variable</th><th>Definition</th><th>Description</th></tr></thead><tbody><tr><td><p>DECIMAL_128_CONTEXT</p></td><td><div><div><p><code>DECIMAL_128_CONTEXT: OperationContext</code></p></div></div></td><td><div><div><p>A <code>MathContext</code> object with a precision of 34 digits, matching the IEEE 754-2019 decimal128 format, and a rounding mode of <code>HALF_EVEN</code>.</p></div></div></td></tr><tr><td><p>E</p></td><td><div><div><p><code>E</code></p></div></div></td><td><div><div><p>Variable <code>E</code> sets the value of mathematical constant <code>e</code>, the base of natural logarithms.</p></div><div><p><em>Introduced in DataWeave version 2.4.0.</em></p></div></div></td></tr><tr><td><p>PI</p></td><td><div><div><p><code>PI</code></p></div></div></td><td><div><div><p>Variable <code>PI</code> sets the value of constant value pi, the ratio of the circumference of a circle to its diameter.</p></div><div><p><em>Introduced in DataWeave version 2.4.0.</em></p></div></div></td></tr><tr><td><p>UNLIMITED_CONTEXT</p></td><td><div><div><p><code>UNLIMITED_CONTEXT: OperationContext</code></p></div></div></td><td><div><div><p>A <code>MathContext</code> object with settings configured for unlimited precision arithmetic.</p></div></div></td></tr></tbody></table>
