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 . The precision of this evaluation is based solely on the settings of the SET DECIMAL TO command. Any negative number passed as 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