ceil function

Syntax

  • float ceil(x)

Parameters

  1. xfloat

Returns

The rounded integer value. If x is integral, x is returned.

Description

The ceil function rounds x up to the nearest integer.

Related


In this topic