1. Computing & Technology

Discuss in my forum

Ceil - MySQL Command

By , About.com Guide

Definition: Ceiling or Ceil is used to round a number up to the next whole number. Any number with even a slight decimal is rounded up. This is the opposite of Floor which rounds everything down.
Also Known As: Round number up
Examples:

SELECT CEIL(-3.14);
This would round up to -3

SELECT CEIL(3.14);
This would round up to 4
Related Searches ceil whole number

©2012 About.com. All rights reserved.

A part of The New York Times Company.