Pegasus InfoCorp: Web site design and web software development company

FLOOR (3)

largest integral value not greater than x

SYNOPSIS

    #include <math.h>
      double floor(double  x );  
    

DESCRIPTION

    The floor() function rounds x downwards to the nearest integer, returning that value as a double.

CONFORMING TO

    SVID 3, POSIX, BSD 4.3, ISO 9899

SEE ALSO