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

# 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. The values of the settings are: <code>precision=0</code> and <code>roundingMode=HALF_UP</code>.</p></div></div></td></tr></tbody></table>
