ASIN()
ASIN(wartosc)
Funkcja zwraca arcus sinus dla podanej wartosci. Zwróciona wartość jest z zakresu od -PI/2 do PI/2 wyrażone w radianach.
UWAGA!!!
"wartosc" musi byc z zakresu <-1, 1>. W przeciwnym razie zostanie zwrócony błąd:
SQL Error: ORA-01428: argument 'XXX' is out of range
01428. 00000 - "argument '%s' is out of range"
Przykład 1:
SELECT ASIN(0.5) "Arcus sinus" FROM DUAL;
Arcus sinus
----------------------
0,52359877559829887307710723054658381405
1 rows selected
Przykład 2:
SELECT ASIN(1.01) "Arcus sinus" FROM DUAL;
SELECT ASIN(1.01) "Arcus sinus" FROM DUAL
Error report:
SQL Error: ORA-01428: argument '1.01' is out of range
01428. 00000 - "argument '%s' is out of range"
*Cause:
*Action:
Brak komentarzy:
Prześlij komentarz