Results 1 to 4 of 4

Thread: Insert comma into Number (price)

  1. #1
    Thread Starter
    Senior Member toms's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    147
    Thanks
    7
    Thanked 4 Times in 4 Posts

    Insert comma into Number (price)

    Hey,

    Does anyone know the php to insert a comma into a number? i.e. 120000 to 120,000? I need it to stay as 12000 in the system for advanced search, but I need the front end to show with a comma.

    Thanks
    Tom
    Last edited by jomarkosabel; October 15th, 2011 at 08:29 AM.

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    38,254
    Thanks
    161
    Thanked 3,144 Times in 3,016 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. The Following User Says Thank You to jomarkosabel For This Useful Post:

    toms (October 14th, 2011)

  4. #3
    Thread Starter
    Senior Member toms's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    147
    Thanks
    7
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #4
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    38,254
    Thanks
    161
    Thanked 3,144 Times in 3,016 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Limiting the number of characters in the price field?
    By pets4u in forum ClassiPress General Discussion
    Replies: 3
    Last Post: May 31st, 2012, 09:32 AM
  2. limit number of characters in Price tag
    By dmask in forum ClassiPress General Discussion
    Replies: 1
    Last Post: January 15th, 2011, 12:37 AM