ddeham
Programmer
- Sep 30, 2005
- 11
How do I output a number in a money format, like this:
$221,659.20
I can output it like this
printf("Total Payment \$%.2f<BR>",$roundedmonthlypayment * $years * 12);
to get $221659.20, but there are no commas. How do I output with commas? Please help.
Thanks,
Dan
$221,659.20
I can output it like this
printf("Total Payment \$%.2f<BR>",$roundedmonthlypayment * $years * 12);
to get $221659.20, but there are no commas. How do I output with commas? Please help.
Thanks,
Dan