RE: [PHP] Forgotton Command
| From: | Ralph Guzman | Date: | Tue, 08 Jul 2003 02:40:23 +0000 |
| Subject: | RE: [PHP] Forgotton Command | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154300@lists.php.net to get a copy of this message | ||
Are you talking about number_format()?
http://www.php.net/number_format
or substr():
http://www.php.net/manual/en/function.substr.php
-----Original Message-----
From: Brenton Dobell [mailto:brenton@lefevrehs.sa.edu.au]
Sent: Monday, July 07, 2003 7:23 PM
To: php-general@lists.php.net
Subject: [PHP] Forgotton Command
Hey all, Im new to this list and fairly new to php,
anyways I had a command to get a variable of numbers eg.
14.39287376585639584673
I used to know a command to strip the variable back to 4 digits eg 12.3
But for the life of me i cant remember the command, can anyone please
help,
ive tried looking in the php manual but nothing has jogged my memory
Thanks in advance
Brenton Dobell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php