Re: Trouble with sin()
| From: | Jonathan Haddad | Date: | Thu, 22 Jul 2004 18:59:24 +0000 |
| Subject: | Re: Trouble with sin() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191555@lists.php.net to get a copy of this message | ||
as in 20 degrees?
float *sin* ( float arg)
*sin()* returns the sine of the arg parameter. The arg parameter is in radians.
RADIANS.
|sin(deg2rad(20));
|
Jon
Marcus Strube 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