Re: [PHP] To format a number

2003-11-06 Thread CPT John W. Holmes
From: <[EMAIL PROTECTED]> > I have a number for example 5 and I would it transform in 5,00. > I tried with round() but it doesn't add the numbers after comma with an interger number. > Does some funtion that make this exist? You mean some function that'll format a number? Hmmm... number_format()

[PHP] To format a number

2003-11-06 Thread phpziobudda
Hi, I have a little problem. I have a number for example 5 and I would it transform in 5,00. I tried with round() but it doesn't add the numbers after comma with an interger number. Does some funtion that make this exist? Thanks