float Maths.Sqrt(float value)
Calculates the square root of the supplied value.
The square root is the number which, when multiplied by itself, equals value.
Example:
Display("The square root of 4 is %d!", FloatToInt(Maths.Sqrt(4.0)));
displays the square root of 4 (rounded down to the nearest integer).
See Also: Maths.Cos,
Maths.RaiseToPower,
Maths.Sin, Maths.Tan
|