---
schema_version: "1"
id: b0e1d539a1ccec91bf4b3b715be8eb63a58de5b0d5047da6e180e8f2858cfbb1
title: pow
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.5/dw-core-functions-pow.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.5/dw-core-functions-pow
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 6a1d73e6d7a3da2a369db62a07fd739d1d629131f4d9e21ff0fbab246ca41db2
description: MuleSoft Documentation Site
release: "2.5"
latest: false
---
# pow

## [](#pow1)pow(base: Number, power: Number): Number

`base`​ (基数) の数値を、指定された ​`power`​ (指数) で累乗します。

### [](#パラメーター)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>base</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">基数となる数値 (​<code>Number</code>​ (数値) 型)。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>power</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">指数となる数値 (​<code>Number</code>​ (数値) 型)。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、​`base`​ (基数) の数値を、指定された ​`power`​ (指数) で累乗します。 `pow(base,power)`​ 表記を使用することもできます (たとえば、​`pow(2,3)`​ では ​`8`​ を返します)。

#### [](#ソース)ソース

```DataWeave
%dw 2.0
output application/json
---
[ (2 pow 3), (3 pow 2), (7 pow 3) ]
```

#### [](#出力)出力

```JSON
[ 8, 9, 343 ]
```