Name

float::ceil — round upwards to integer

Synopsis

FLOAT float::ceil ( f FLOAT );
 

Parameters

f FLOAT

Return

FLOAT

Description

Returns f rounded upwards to the nearest integer.

Usage

  trunc (+1.6) -> +2.0
 

  trunc (-1.6) -> -1.0