---
layout: doc
title: floats / ceil
---
# ceil

### NAME

    ceil() - round a float up to the nearest integer

### SYNOPSIS

    float ceil( float f );

### DESCRIPTION

    Returns  (as  a  float)  the nearest integer number equal to or greater
    than f.

### SEE ALSO

    floor(3), to_int(3), to_float(3)

