From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Xojo.Math.Sqrt(value As Double) As Double

Supported for all project types and targets.

Returns the square root of the specified value.

Sample Code

Calculate the sine:

Using Xojo.Math

Dim d As Double
d = Sqrt(16)