Re: Doing simple math

From: Date: Wed, 04 Jun 2003 03:02:41 +0000
Subject: Re: Doing simple math
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-150101@lists.php.net to get a copy of this message
On Tue, 2003-06-03 at 20:59, Lars Torben Wilson wrote: > On Tue, 2003-06-03 at 19:49, Chris Cameron wrote: > > > > An example that looks like it -should- work: > > > > $Math = sqrt(81)(5+4)-1; > > > What is the relation between the sqrt(81) and the (5+4)-1? i.e. there > is no operator there...which operator *should* be there? > Hmm, I'm thinking multiplication. It's been a while since I've been in a classroom, but "9(9)" would mean '81' to me. Although it's looking as though PHP doesn't do things like that. Being able to do that though really "cleans" things up for me though. > > Torben > > > Thanks, > > Chris > > > > -- > > Chris Cameron > > UpNIX Internet Administrator > > ardvark.upnix.net > > bitbucket.upnix.net > > -- > > http://www.upnix.com

« previous php.general (#150101) next »