---
schema_version: "1"
id: eda705aa566f926cfe05dcd2d6d602b1c1bb3a9a82512882411985e02c0dd3f4
title: pow
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.4/dw-core-functions-pow.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.4/dw-core-functions-pow
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 2b0ec3cfa25369d2f56f51f6a216bb3011e6144033e604b3ba3f443e28259dcb
description: MuleSoft Documentation Site
release: "2.4"
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 ]
```