---
schema_version: "1"
id: 42a7086737c7a69f2f9049665dc74589d57df030ae70a09a9127504a047db05f
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.4/dw-math-variables.md
canonical_url: https://docs.mulesoft.com/dataweave/2.4/dw-math-variables
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 612a15dd62a6e14254aae2162da8ead1dc14705e488c2341869c9d076ac7c335
description: MuleSoft Documentation Site
release: "2.4"
latest: false
---
---
product: DataWeave
version: 2.4
---

# 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>E</p></td><td><p><code>E</code></p></td><td><p>Variable <code>E</code> sets the value of mathematical constant <code>e</code>, the base of natural logarithms.</p><p><em>Introduced in DataWeave version 2.4.0.</em></p></td></tr><tr><td><p>PI</p></td><td><p><code>PI</code></p></td><td><p>Variable <code>PI</code> sets the value of constant value pi, the ratio of the circumference of a circle to its diameter.</p><p><em>Introduced in DataWeave version 2.4.0.</em></p></td></tr></tbody></table>
