problem with commas with price

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

problem with commas with price

Post by itsmani1 »

Hello

I have price like 10000 i want to put commas and display it like 10,000 using php code.

any solution?

thank you
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: problem with commas with price

Post by califdon »

itsmani1 wrote:Hello

I have price like 10000 i want to put commas and display it like 10,000 using php code.

any solution?

thank you
Read http://phpbuilder.com/manual/en/functio ... format.php
Post Reply