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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to