Power
- 27 May 2022
- 1 Minute to read
- DarkLight
- PDF
Power
- Updated on 27 May 2022
- 1 Minute to read
- DarkLight
- PDF
Article Summary
Calculates the value of the given number raised to the given power.
Function signature
POWER(base: Number, power: Number) => Number
Parameter | Description |
---|---|
Base | Number to raise |
Power | Exponent to raise |
Examples
Formula | Return value |
---|---|
POWER(4, 2) | 16 |
POWER(4, -2) | 0.0625 |
POWER(-4, 3) | -64 |
Was this article helpful?