Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001062

Re: [PHP] math question From: Anon Y Mous (dropbox <email protected>)
Date: 06/23/01

pi is a function. Try this:

$theta = 15*pi()/360;

It should return 0.13089969389957

-Evan Nemerson

> $theta = 15*pi/360;
> gives a value of 0 for $theta... it should be something like 0.131...

> Julia

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>