Re: Trouble with sin()

From: Date: Thu, 22 Jul 2004 16:17:56 +0000
Subject: Re: Trouble with sin()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-191538@lists.php.net to get a copy of this message
It's giving you sin(20) in radians, not in degrees (which is what you seem to want). It's not a bug. On Thu, 22 Jul 2004 12:17:19 -0400, Ashwin Purohit <purohit@gmail.com> wrote: > It's giving you sin(20) in radians, not in degrees (which is what you > seem to want). It's not a bug. > > > > On Thu, 22 Jul 2004 17:40:21 +0200, Marcus Strube <marcus_strube@gmx.net> wrote: > > Hi, > > > > i'm working with PHP 5.0.0 (Linux) and have some trouble using function sin(). > > In PHPs opinion > > > > sin(20) > > > > is > > > > 0.912945250728 > > > > I have had a look at the bug.php.net, but couldn`t find anything. Is it a bug > > or am I just misunderstanding something?? > > > > Marcus > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > Ashwin Purohit > -- Ashwin Purohit

« previous php.general (#191538) next »