# POW

最初の入力を 2 番目の入力でべき乗します。

これは [`POWER`](https://help.qlik.com/ja-JP/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/Lakehouse/TransformationFunctions/mathematical/power.htm) 関数のエイリアスです。

## 構文

```
POW(X, P)
```

## 引数

#### X

型: `numeric`

数値。

#### P

型: `numeric`

数値。

## 戻り値

型: `double`

`X` を `P` 乗した値。

***

## 例

| X | P | 出力 |
| --- | --- | --- |
| 1 | 1 | 1.0 |
| 2 | 2 | 4.0 |
| -1 | 2 | 1.0 |
| -2 | -2 | 0.25 |
| 0.5 | 0.5 | 0.7071067811865476 |
| 0.5 | 0 | 1.0 |
| 0 | 0 | 1.0 |