Gentee Programming Language > Documentation > Libraries Download documentation

ceil

Getting the smallest integer that is greater than or equal to x.
 
double ceil(
      double   x
)

Parameters

xFloating-point value.

Return value

The closest least integer.

See also

    Mathematical functions


 Copyright © 2004-2006 Gentee Inc. All rights reserved.