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, 1046🔥, 0💬
Popular Posts:
Where to find MySQL database server tutorials? Here is a collection of tutorials, tips and FAQs for ...
How To Drop an Index in Oracle? If you don't need an existing index any more, you should delete it w...
How To View Data Files in the Current Database in Oracle? If you want to get a list of all tablespac...
How To Create a Dynamic Cursor with the DYNAMIC Option in SQL Server Transact-SQL? If the underlying...
Where to find answers to frequently asked questions I am new to Oracle database. Here is a list of f...