你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
pow()
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Returns a result of raising to power
Syntax
pow(
base,
exponent )
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
base | int, real, or long | ✔️ | The base value. |
exponent | int, real, or long | ✔️ | The exponent value. |
Returns
Returns base raised to the power exponent: base ^ exponent.
Example
print result=pow(2, 3)
Output
result |
---|
8 |