Sqrt

From Xojo Documentation

Revision as of 19:09, 19 November 2009 by WikiSysop (talk) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Description

Returns the square root of the value specified.


Syntax

result=Sqrt (value)

Part Type Description
value Double The value you want the square root of.
result Double The square root of the value.


Notes

The Sqrt function returns the square root of the value passed to it.


Examples

This example uses the Sqrt function to return the square root of a number.

Dim d As Double
d=Sqrt(16) //returns 4


See Also

^, * operators.