ACOS (Transact-SQL)
SQL Server 2008
Funzione matematica che restituisce l'angolo, espresso in radianti, il cui coseno corrisponde all'espressione di tipo float specificata (denominato anche arcocoseno).
Nell'esempio seguente viene restituito l'arcocoseno del numero specificato.
SET NOCOUNT OFF; DECLARE @cos float; SET @cos = -1.0; SELECT 'The ACOS of the number is: ' + CONVERT(varchar, ACOS(@cos));
Set di risultati:
--------------------------------- The ACOS of the number is: 3.14159 (1 row(s) affected)
