From Xojo Documentation

Revision as of 00:28, 30 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Sqrt(value as Double) As Double

Supported for all project types and targets.

Returns the square root of the value specified.


result=Sqrt (value)

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


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


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

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

See Also

^, * operators.