Place commas into a number?

Discussion in 'PHP' started by runnerunner, Jun 20, 2006.

  1. #1
    What's the php function that puts commas into a number so 4000 becomes 4,000?

    I know it exists, but I can't find it anywhere
     
    runnerunner, Jun 20, 2006 IP
  2. disgust

    disgust Guest

    Messages:
    2,417
    Likes Received:
    133
    Best Answers:
    0
    Trophy Points:
    0
  3. runnerunner

    runnerunner Active Member

    Messages:
    1,027
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    90
    #3
    nevermind, i just found it. If anybody else needs it it's: number_format()

    lol beat me to it disgust, thanks!
     
    runnerunner, Jun 20, 2006 IP