flemingmike Posted March 28, 2009 Share Posted March 28, 2009 hi, if i have: $fee=($cost*0.1); <tr bgcolor='$config[altcolorb]'><td align='left' background='$config[cellbg2]'><b>Cost:</b></td><td align='left' background='$config[cellbg2]'>$cost +$fee </td></tr> how can i make sure $fee is formatted to look like $1.00 instead of just $1 where $cost=$10 Link to comment https://forums.phpfreaks.com/topic/151549-format-of-sql-query/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.