Hi. Just a quick questions that has me stumped. I am using a 'double' in my database for a price field. If however the price being input is for example: $10.50 the result is $10.5
How do I prevent the zero on the end from being dropped. Thanks.
See number_format() and money_format().
Thanks mate