SQLite POW() Function
Definition and Usage
The POW() function returns a number raised to the power of another number.
POWER() is another name for the same function.
Note: Some SQLite builds do not include the math functions, because they need the compile option SQLITE_ENABLE_MATH_FUNCTIONS. They work in our editor.
Tip: Also look at SQRT().
Syntax
POW(x, y)
Parameter Values
| Parameter | Description |
|---|---|
| x | Required. The base |
| y | Required. The exponent |
Technical Details
| Return type: | Real |
|---|---|
| Works in: | SQLite 3.35.0 and later |