note 52097 rejected from function.number-format by betz
| From: | betz@php.net | Date: | Thu, 21 Apr 2005 10:48:07 +0000 |
| Subject: | note 52097 rejected from function.number-format by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-88324@lists.php.net to get a copy of this message | ||
Note Submitter: php at greyrain dot com
----
how can i delete leading zeros?
example. i'm trying to come up with a number for a batting average like .333. if i use
number_format() it always gives me the output 0.333. any ideas?