[PHP] how to convert 0.5 to 0.50

2006-04-13 Thread Merlin
Hi there, I am searching for a command on how to format 0.5 to 0.50 thanx for any help, merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to convert 0.5 to 0.50

2006-04-13 Thread chris smith
On 4/13/06, Merlin [EMAIL PROTECTED] wrote: Hi there, I am searching for a command on how to format 0.5 to 0.50 number_format('0.5', 2); -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] how to convert 0.5 to 0.50

2006-04-13 Thread cajbecu
?php print number_format('0.5',2,'.',''); // 0.50 ? Merlin wrote: Hi there, I am searching for a command on how to format 0.5 to 0.50 thanx for any help, merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to convert 0.5 to 0.50

2006-04-13 Thread tedd
At 3:59 PM +0200 4/13/06, Merlin wrote: Hi there, I am searching for a command on how to format 0.5 to 0.50 thanx for any help, merlin Check out: http://www.weberdev.com/sprintf tedd -- http://sperling.com