---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: [Extend, PMD Scripting, Scripts]
nav: wcp_docs
parent_url: /wcp_docs/
title: pow (base, exponent)
layout: subsection
---

## <a id="section_m3p_myb_5db"></a>Description

Returns the value of the base raised to the exponent.

## <a id="section_cyq_j1m_zsb"></a>Return Type

`Integer` if <i>base</i> is an integer and <i>exponent</i> is positive; otherwise `Decimal`.

## <a id="section_dz5_pwg_5db"></a>Namespace Function Syntax

```
number:pow(base, exponent)
```

<table><thead><tr><th>Parameter</th><th>Description</th></tr></thead><tbody><tr><td>base</td><td>A number to multiply by itself a number of times.</td></tr><tr><td>exponent</td><td>An integer or decimal exponent. <p>A negative exponent gives the reciprocal of the base raised to the (positive) exponent.</p> <p>The exponent cannot be decimal if the base is negative.</p></td></tr></tbody></table><br/>

<b>Example</b>

`number:pow(17, 8)`

Returns 2147483647

`number:pow(17, -8)`

Returns 1.4335360832968505E-10

`number:pow(1.5, 0.25)`

Returns 1.1066819197003217

