Skip to content
CryoEagle edited this page Dec 31, 2018 · 4 revisions

sqrt

Returns the square root of value. Value cannot be a negative value.

Syntax:

sqrt(x)
Argument Description
double x The number to get the square root of

Returns: double

Description:

When you multiplies number by itself like 5 * 5 = 25 you can make it reverse with sqrt because it will find the root value.

Example:

sqrt(25); //return 5

This code will find root number from value 25, of course it will return 5.

Back to number_functions

Clone this wiki locally