Re: Passing a variable which is an aggregate function
| From: | Jim Lucas | Date: | Fri, 10 Oct 2008 17:42:23 +0000 |
| Subject: | Re: Passing a variable which is an aggregate function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281686@lists.php.net to get a copy of this message | ||
The Doctor wrote:
> What I am trying to do is to
> pass an aggregate variable which is the sum of
> some smaller variable.
>
> This var also need to finish in the form of $XXXX.YY .
>
> Pointers please.
Most of the above can be done using number_format(). The dollar sign you will
have to add yourself.
http://php.net/number_format
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare