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

## [](#pow1)pow(Number, 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 ]
```