Re: diffence between two numbers...
| From: | Petar Nedyalkov | Date: | Fri, 15 Apr 2005 16:24:03 +0000 |
| Subject: | Re: diffence between two numbers... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213149@lists.php.net to get a copy of this message | ||
On Friday 15 April 2005 19:01, Chris W. Parker wrote:
> Tristan.Pretty@risk.sungard.com
> <mailto:Tristan.Pretty@risk.sungard.com>
>
> on Friday, April 15, 2005 3:35 AM said:
> > $a = 7;
> > $b = 27;
> > somefunction($a, $b)
> > // outputs "20"
> >
> > etc...
> > does that exist?
>
> function difference($a, $b)
> {
> return abs($a-$b);
> }
Yep, I was wrong. Nice remark.
>
>
>
> Chris.
--
Cyberly yours,
Petar Nedyalkov
Devoted Orbitel Fan :-)
PGP ID: 7AE45436
PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc
PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]