Re: simple division.. but how?
| From: | Cynic | Date: | Mon, 15 Jan 2001 18:59:14 +0000 |
| Subject: | Re: simple division.. but how? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34647@lists.php.net to get a copy of this message | ||
look at the math functions. also, number_format() might be
your friend.
At 19:53 15.1. 2001, PeterOblivion@aol.com wrote the following:
--------------------------------------------------------------
>if you want to do
>10 / 3
>i want it to show 3 and not 3.33333
>
>how do I control that?
>
>
>- Thanks
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
------end of quote------
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
cynic@mail.cz