Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

ROUND()

Rounds off a numeric expression.
---------------------------------------------------------------------------------

 Syntax

        ROUND( <nNumber>,<nPlace> ) --> <nResult>  

 Arguments

        <nNumber>   Any numeric value.      

        <nPlace>    The number of places to round to.    

 Returns

        <nResult>   The rounded number.    

 Description

      This function rounds off the value of <nNumber> to the number of
      decimal places specified by <nPlace>. If the value of <nPlace> is a
      negative number, the function will attempt to round <nNumber> in
      whole  numbers. Numbers from 5 through 9 will be rounded up, all
      others will  be rounded down.

 Examples

      ? ROUND(632512.62541,5)
      ? ROUND(845414111.91440,3)

Status

      Ready

 Compliance

      This function is CA-Clipper compliant.

 Platforms

      All

 Files

      Library is rtl



See Also: INT() STR() VAL() SET FIXED

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