> 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]