Re: cosine and sin in PHP on Win2K & IIS 5
| From: | Phil Driscoll | Date: | Tue, 19 Jun 2001 12:57:44 +0000 |
| Subject: | Re: cosine and sin in PHP on Win2K & IIS 5 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7938@lists.php.net to get a copy of this message | ||
PHP, like every other programming language I have ever come across, uses
radians for its trig functions.
you need 3*pi/2 for 270 degrees
see deg2rad and rad2deg in the manual.
Cheers
--
Phil Driscoll