Page 1 of 1

Money Format HELP!!

Posted: Wed Apr 23, 2003 3:17 pm
by AliasBDI
I have an online invoice page. Here is my echo:

<?php echo $disctot; ?>

This shows the TOTAL of the invoice. However, sometimes it shows it like this "10000.4". When it should read "10,000.40". How can I get it to show:

->Two digits after decimal,
->A comma every 3 numbers.

Thanks.

Posted: Wed Apr 23, 2003 3:23 pm
by jason