Hi,
I've built a shopping cart script and i need to add a 0 to the end of values...
I.e.
if a value is £15.50 the script currently echos £15.5 anyone know of a quick way to get php to echo values as currency?
Thanks in advance
are you familiar with C function [man]printf[/man]
This function allows you to specify a format to be displayed
hope this helps
cheers mate.. that worked! 🙂