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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to