Deleted

Sqrt()

This function computes the square root of a number. It can operate on numeric, currency, integer and double values, but always returns a numeric value.

Usage

nResult = SQRT(nValue)
Since square roots aren't defined for negative numbers, VFP returns an error if you pass it a negative number.

Example

?SQRT(49)   && returns 7 ?SQRT($81)  && returns 9

View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net