Re: a rather easy question
| From: | Wico de Leeuw | Date: | Sat, 28 Oct 2000 11:49:22 +0000 |
| Subject: | Re: a rather easy question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22437@lists.php.net to get a copy of this message | ||
Or use round($number[, $n]);
$n = number of decimals
Greetz,
Wico
At 18:27 28-10-00 +0700, Julyanto S wrote:
just try use number_format() In the book I've reaad that when deviding entire numbers, the result is an entire number. But I get a result with a lot of number behind the comma. I don't know how to get a result without numbers behind the comma, I need the number to create a bar (the number is the width of a picture). Greetings Emiel Theloosen -- Julyanto S Web Development Team -------------------------------------------------------------------PT. IDAMAN DOT COM Telp: +6231-599-4141 Jl. Klampis Jaya 25-H Mobile: +6281-837-2020Surabaya - Indonesia -- 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