Jump to content


Photo

Making 10000 into 10,000


  • Please log in to reply
2 replies to this topic

#1 Madatan

Madatan
  • Members
  • PipPipPip
  • Advanced Member
  • 51 posts

Posted 10 August 2006 - 11:31 AM

Okey, so I simply want a number taken from a database add a , on some good places. For example:

10000000 = 10,000,000

How do I do this? didn't know what to search for so I ask in the forum.

#2 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 10 August 2006 - 11:34 AM

number_format($number);

Orio.
Think you're smarty?

(Gone until 20 to November)

#3 Madatan

Madatan
  • Members
  • PipPipPip
  • Advanced Member
  • 51 posts

Posted 10 August 2006 - 11:35 AM

Glorious thanks to you! :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users