php-general | 2001062
Date: 06/23/01
- Next message: Zak Greant: "Re: [PHP] math question"
- Previous message: George Alexander: "[PHP] Using post method thru php-script"
- In reply to: Julia A. Case: "[PHP] math question"
- Next in thread: George Alexander: "Re: [PHP] math question"
- Reply: George Alexander: "Re: [PHP] math question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Zak Greant: "Re: [PHP] math question"
- Previous message: George Alexander: "[PHP] Using post method thru php-script"
- In reply to: Julia A. Case: "[PHP] math question"
- Next in thread: George Alexander: "Re: [PHP] math question"
- Reply: George Alexander: "Re: [PHP] math question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

