Displaying comma's in a price - DECIMAL 10,2
I have a page that displays a price but I'd like a comma inserted when the price is over a thousand and/or over a million (two commas).
The price field in the MySQL table is DECIMAL 10,2 and it's displayed on the page, via MySQLi, as:
£<?php echo($rsProperty->getColumnVal("jbprice")); ?>
...but at the moment the price is just one string of numbers:
Hope you can help. Thank you.