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:[EMAIL PROTECTED] 
Sent: Monday, July 07, 2003 7:23 PM
To: [EMAIL PROTECTED]
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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to