SHIP:Sail:sqrt

From Serious Documentation
Jump to: navigation, search
Function Returns Introduced Description
sqrt Float v5.1.0 Calculates the square root of a number (√n)

See Also:

Prototype

Float sqrt(Float n);

Parameters/Return Value

Parameter Data Type Description
n Float the number to take the square root of
Return Float the result of √n

Detailed Description

The sqrt() function returns the square root of the given number (√n).

Examples

Example Result Notes
sqrt(121); 11.000000...
sqrt(500); 22.360679...