LukÃÅ Moravec - PTV Servis wrote:
is there any function wich can format a "double" or "string" into "money
format".for example: 1526789,99 to 1.526.789,99 or something like that.?
number_format()
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magaz
[snip]
Hi to all,
is there any function wich can format a "double" or "string" into "money
format".for example: 1526789,99 to 1.526.789,99 or something like that.?
Regards Lukas
[/snip]
http://www.php.net/number_format
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
> Hi to all,
> is there any function wich can format a "double" or "string" into "money
> format".for example: 1526789,99 to 1.526.789,99 or something like that.?
> Regards Lukas
>
You could try http://us2.php.net/manual/en/function.money-format.php or
http://us2.php.net/manual/en/function.numbe
[EMAIL PROTECTED]
> Subject: [PHP] Money format
>
> Hi to all,
> is there any function wich can format a "double" or "string" into "money
> format".for example: 1526789,99 to 1.526.789,99 or something like that.?
> Regards Lukas
--
PHP General Mailing Lis
Hi to all,
is there any function wich can format a "double" or "string" into "money
format".for example: 1526789,99 to 1.526.789,99 or something like that.?
Regards Lukas
As I said it is almost what I want but not quite. If it can be done a code
snipit would be good.
Ben
At 19:44 30/01/2003 -0700, V Dub wrote:
http://php.net
search in functions for number_format
Cheers!
Quoting Ben Edwards <[EMAIL PROTECTED]>:
### I wish to format money with a £ sign, two d
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Money format
http://php.net
search in functions for number_format
Cheers!
Quoting Ben Edwards <[EMAIL PROTECTED]>:
### I wish to format money with a £ sign, two decimal places and commas
### separating thousands. I seem to be able to do the £ an
http://php.net
search in functions for number_format
Cheers!
Quoting Ben Edwards <[EMAIL PROTECTED]>:
### I wish to format money with a £ sign, two decimal places and commas
### separating thousands. I seem to be able to do the £ and decimal places with
###
### sprintf or use money_format to
I wish to format money with a £ sign, two decimal places and commas
separating thousands. I seem to be able to do the £ and decimal places with
sprintf or use money_format to do the commas but cant find how to do
both/combine them.
any insight,
ben
*
9 matches
Mail list logo