Re: Averages...

From: Date: Thu, 21 Dec 2000 02:21:22 +0000
Subject: Re: Averages...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31353@lists.php.net to get a copy of this message
Please check the manual ... http://www.php.net/manual/language.operators.php $field1 = 500 $field2 = 5 $quotient = $field/$field2 Or am I misunderstanding your question? Miles Thompson At 09:09 PM 12/20/2000 -0500, David Smith wrote:
If I have two fields and want to divide one by the other to get an average how would I code that? Example: Field 1: 500 Field 2: 5 Average or the result I want: 100 Thanks.... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#31353) next »