Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: sine and cosine function from plsql

Re: sine and cosine function from plsql

From: Gerard H. Pille <ghp_at_skynet.be>
Date: 1997/09/27
Message-ID: <01bccb3a$8b1b5fe0$c41beec3@pcghp>#1/1

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>...

> 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.
>
Received on Sat Sep 27 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US