*Sigh*, lets say I have: 2.65 3.3 5.2670 12.030
I would like it at least 2 decimal places.. So, 5.2670 would be 5.267 not 5.27: 2.65 3.30 5.267 12.03 "James Rodenkirch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > try rounding it first > > http://www.php.net/manual/en/function.round.php > > Zavaboy wrote: > > > What about if I had 2.856 that function will make it 2.86. > > > > > > "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > [snip] > > How can I make them have at least 2 decimal places? > > [/snip] > > > > RTFM at http://www.php.net/number_format > > > > HTH! > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php