otuatail Posted April 20, 2006 Share Posted April 20, 2006 I have searched the online manual for formating a number 2 3 decimal places. Can someone help out here$mynumber = 16.458302303 to<td>16.45</td>Desmond. Link to comment https://forums.phpfreaks.com/topic/7982-formating-numbers/ Share on other sites More sharing options...
cmgmyr Posted April 20, 2006 Share Posted April 20, 2006 [code]number_format($mynumber,2)[/code] Link to comment https://forums.phpfreaks.com/topic/7982-formating-numbers/#findComment-29105 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.