Re: Thousands Separator
| From: | Jennifer | Date: | Fri, 16 Jan 2015 20:33:39 +0000 |
| Subject: | Re: Thousands Separator | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324260@lists.php.net to get a copy of this message | ||
On Jan 16, 2015, at 11:51 AM, Jim Lucas wrote:
> Could you explain the use of what you're describing/requesting?
>
> And how number_format would not work in its place.
I'm talking about entering large numbers in the code. If I have a constant, e.g.
$num = '123456789';
it would be nice to enter it as:
$num = '123_456_789';
just to make it easier to read. As I mentioned, you can do that in Perl. The underscore takes the
place of commas only for readability. It's not a deal breaker, but it sure would be nice! :)
Jenni
Superior Shelving Systems::::....
The (Storage|Office|Display|Warehouse) Shelving Specialists
Since 1984
Metro Shelving:
https://www.superiorshelving.com/mfg/metro/