1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley
Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

Rounding Up

Friday November 7, 2008
In some cases you need to always round a number up. To do this you use the ceil command. For example if cookies came in packs of 8 and you had needed to buy for 20 people, you would need 2.5 packs. But since the store probably won't sell you a half a pack, you would always need to round up, and you would use the ceil command.
Comments
November 10, 2008 at 2:01 pm
(1) Helen says:

The PHP email script is not working.

November 16, 2008 at 4:06 am
(2) Dhiraj Das says:

Any Error? Plz Provide Details..
Thankx

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2009 About.com, a part of The New York Times Company.

All rights reserved.