Difference between revisions of "SHIP:Sail:sqrt"

From Serious Documentation
Jump to: navigation, search
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
{{SailFuncTableStart|}}<onlyinclude>
 
{{SailFuncTableStart|}}<onlyinclude>
|{{SailFunc|sqrt}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Return &radic;number{{v5}}</onlyinclude>
+
|{{SailFunc|sqrt}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Return &radic;number</onlyinclude>
 
|}
 
|}
 
== See Also: ==
 
== See Also: ==

Revision as of 10:10, 14 October 2016

Function Returns Introduced Description
sqrt Float v5.1.0 Return √number

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.

Examples

Example Result Notes
sqrt(1); 1.000000...
sqrt(27); 5.186152...
sqrt(100); 10.000000...