OK, now I got it.
I did not think "operatotors" refered to mathematical functions.
Thanks Leon
Shawn
P.S. The book is great.
----- Original Message -----
From: "Leon Atkinson" <[EMAIL PROTECTED]>
To: "FreeTrade" <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 4:19 PM
Subject: RE: [FreeTrade] Modifications to item entry using
PHPmathematicalfunctions - Need Some Advice
> > P.S. can anyone suggest a good tutorial for using mathematical
> > functions in
> > PHP? I have Leon's new book but it only covers the really wierd
> > stuff like
> > ARC, and TAN, and COSINE. I only made it to 1st year geometry so
> > that stuff
> > is all greek to me. :-)
>
> Chapter 2, starting on page 38, talks about operators. That's the
> usual way you'd want to do arithmatic. You shouldn't use the bcmath
> functions unless you need to deal with really, really big numbers.
>
> If you need to multiply three numbers together, you can use the *
> operator. For example:
>
> $myProduct = 100 * 45 * 13;
>
>
> Leon
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Site: http://www.working-dogs.com/freetrade/
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]