Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_floor()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_FLOOR()


Syntax:        L_FLOOR(<expN>)


Purpose:       To return a value representing the largest integer that
               is less than or equal to a specified number.


Arguments:     <expN> is the number for which the largest smaller
               integer is required.


Returns:       An integer numeric value.


Usage:         Useful where rounding down of numbers is required.


Examples:      ? L_FLOOR(4.2)                   && Result: 4
               ? L_FLOOR(-3.6)                  && Result: -4


Language:      C

See Also: L_CEILING()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson