Package java.lang
Class Math

Public Method sqrt

static float sqrt(float a)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method returns a rounded and positive square root of a float value. Otherwise, the result is the float value closest to the true mathematical square root of the argument value.

Note

Example

   Draw.writeText("data: " + Math.sqrt(4f));

The example above draws a calculated value of 2 to the screen.