Collections:
ACOS() - Arccosine Trigonometric Value
How to calculate the arccosine value of a given value using the ACOS() function?
✍: FYIcenter.com
ACOS(X) is a MySQL built-in function that
calculates the arccosine value of a given value.
For example:
SELECT ACOS(0), ACOS(1), ACOS(2); -- +--------------------+---------+---------+ -- | ACOS(0) | ACOS(1) | ACOS(2) | -- +--------------------+---------+---------+ -- | 1.5707963267948966 | 0 | NULL | -- +--------------------+---------+---------+
Reference information of the ACOS() function:
ACOS(X): val Returns the arc cosine of X, that is, the value whose cosine is X. Returns NULL if X is not in the range -1 to 1. Arguments, return value and availability: X: Required. The input value. val: Return value. The arccosine value of the input value. Available since MySQL 4.0.
Related MySQL functions:
⇒ ASIN() - Arcsine Trigonometric Value
2023-11-15, 1360🔥, 0💬
Popular Posts:
How To Use "IF ... ELSE IF ..." Statement Structures in SQL Server Transact-SQL? "IF ... ELSE IF ......
How To End a Stored Procedure Properly in SQL Server Transact-SQL? Where the end of the "CREATE PROC...
What To Do If the StartDB.bat Failed to Start the XE Instance in Oracle? If StartDB.bat failed to st...
How To Convert Numeric Expression Data Types using the CAST() Function in SQL Server Transact-SQL? I...
How To Verify a User name with SQLCMD Tool in SQL Server? The quickest way to verify a user name in ...