Oracle PL/SQL/Numeric Math Functions/ACOS — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 16:45, 26 мая 2010
ACOS(1)
<source lang="sql">
SQL> --ACOS(x): Returns the arccosine of x. SQL> SQL> select ACOS(1) from dual;
ACOS(1)
0
SQL>
</source>
ACOS(x): Returns the arccosine of x
<source lang="sql">
SQL> SQL> --ACOS(x): Returns the arccosine of x. SQL> SQL> select ACOS(-1) from dual;
ACOS(-1)
3.14159265 SQL>
</source>
The ACOS() function is used to return the arccosine of the <numeric expression> passed to it.
<source lang="sql">
Syntax: ACOS(<numeric expression>)
SQL> SQL> SELECT ACOS(.5) from dual;
ACOS(.5)
1.04719755
</source>