Hi Roy, > If $amount equals for example 52., how do I get > that to print as "52.00" similarly, if amount = > 52.5 how do I get that to print as "52.50"
Have a look at the number_format() function, it should do what you want. It'll also add commas to break up any thousands in your number (you can bypass that if you like). Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php