Mega Code Archive

 
Categories / Php / Functions
 

Displaying a real number in money format

<?php printf("Please pay $%.2f. ", 42.4242); ?>