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]

SQRT()

Calculates the square root of a number.
---------------------------------------------------------------------------------

 Syntax

        SQRT( <nNumber> ) --> <nSqrt>  

 Arguments

        <nNumber>   Any  numeric value.    

 Returns

        <nSqrt>     The square root of <number>.    

 Description

      This function returns the square root of <nNumber>. The precision of
      this evaluation is based solely on the settings of the SET DECIMAL
      TO  command. Any negative number passed as <nNumber> will always
      return a 0.

 Examples

      SET Decimal to 5
      ? SQRT(632512.62541)
      ? SQRT(845414111.91440)

Status

      Ready

 Compliance

      This function is CA-Clipper compliant.

 Platforms

      All

 Files

      Library is rtl



See Also: ROUND()

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