klyn.math.Math.sqrt
method
public static sqrt(value as Double) as Double:
Description
Returns the square root of a floating-point value.
import klyn.math

print(Math.sqrt(9.0))
print(Math.sqrt(2.0f))
Throws
  • ValueError if `value` is negative. ```klyn import klyn.math print(Math.sqrt(9.0)) print(Math.sqrt(2.0f)) ```