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_roundhp()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_ROUNDHP()


Syntax:        L_ROUNDHP(<expN>)


Purpose:       To round a number up to the nearest whole penny.


Arguments:     <expN> is the number to be rounded.


Returns:       A numeric with 2 decimal places.


Usage:         Better than the Clipper round function.


Examples:      ? L_ROUNDHP(123.456)             && Result: 123.46
               ? L_ROUNDHP(123.543)             && Result: 123.54


Language:      Clipper

See Also: L_ROUNDI()

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