Collections:
POW() - X Raised to Power of Y
How to calculate the exponential of a number on a given base using the POW() function?
✍: FYIcenter.com
POW(X, Y) is a MySQL built-in function that calculates the exponential of a number on a given base. For example:
SELECT POW(2, 0.5), POW(2, 3), POW(2.718, -1.0); -- +--------------------+-----------+---------------------+ -- | POW(2, 0.5) | POW(2, 3) | POW(2.718, -1.0) | -- +--------------------+-----------+---------------------+ -- | 1.4142135623730951 | 8 | 0.36791758646063283 | -- +--------------------+-----------+---------------------+
Reference information of the POW() function:
POW(X, Y): val Returns the value of X raised to the power of Y. Arguments, return value and availability: X: Required. The base value. Y: Required. The power value. val: Return value. The X raised to Y. Available since MySQL 4.0.
Related MySQL functions:
2023-11-14, 268🔥, 0💬
Popular Posts:
What Is "mysqld" in MySQL? "mysqld" is MySQL server daemon program which runs quietly in background ...
What Is SQL*Plus in Oracle? SQL*Plus is an interactive and batch query tool that is installed with e...
How To Connect the Oracle Server as SYSDBA in Oracle? This is Step 4. The best way to connect to the...
How To Turn on mysql Extension on the PHP Engine in MySQL? The "mysql" API extension is provided as ...
How To Find Out What Privileges a User Currently Has in Oracle? Privileges granted to users are list...