Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: sine and cosine function from plsql
Maybe when you don't have a pocket calculator.
-- Kind reGards, Gerard (ghp_at_santens.be; ghp_at_skynet.be) Dan Clamage <clamage_at_mime.dw.lucent.com> schreef in artikel <01bcca4f$34812fc0$54110b87_at_clamagent>...Received on Sat Sep 27 1997 - 00:00:00 CDT
> The trig functions take Radian arguments. For ex:
> select sin(30*3.14159265359/180) sin_30 from dual;
> sin_30
> ------
> .5
>
> I'm surprised anyone actually has a use for trig functions in an RDBMS.
>
> - Dan Clamage
>
> Abiy Alemu <abiy_at_biotec.jouy.inra.fr> wrote in article
> <Pine.SOL.3.91.970926120147.21595A-100000_at_biotec>...
> > How does the call to sine and cosine functions work in plsql ? I tried
> > select cos(value) into variable from dual , with value of number type.
> | If all you've got are nails, better have a hammer.
>