Re: number formatting
| From: | Valerio Ferrucci | Date: | Wed, 14 Feb 2001 14:53:04 +0000 |
| Subject: | Re: number formatting | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6611@lists.php.net to get a copy of this message | ||
Hi,
I have a problem with numer formatting.
I want to have string from my numbers that have thousands separator '.',
decimal separator ',' and fixed n decimal digit.
example:
num: 1285.3 string 1.285,3
num: 12.1 string 12,10
etc.
Is there some php function to do this?
Thanks
==================================================================
Valerio Ferrucci Tabasoft Sas
valfer@flashnet.it http://tabasoft.ancitel.it
taba@flashnet.it