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. Quote Link to comment Share on other sites More sharing options...
cmgmyr Posted April 20, 2006 Share Posted April 20, 2006 [code]number_format($mynumber,2)[/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.