Difference between revisions of "Sqrt"
From Xojo Documentation
Line 3: | Line 3: | ||
| platform=all | | platform=all | ||
| scope=global | | scope=global | ||
− | | owner= | + | | owner=global |
| returntype=[[Double]] | | returntype=[[Double]] | ||
| parameters=value as [[Double]] | | parameters=value as [[Double]] |
Latest revision as of 18:43, 28 January 2021
Global Method
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.