SHIP:Sail:sqrt

From Serious Documentation
Revision as of 16:00, 3 October 2016 by CarltonHeyer (talk | contribs) (Created page with "__NOTOC__ {{SailFuncTableStart|}}<onlyinclude> |{{SailFunc|sqrt}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Return √number{{v5}}</onlyinclude> |} == See Al...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function Returns Introduced Description
sqrt Float v5.1.0 Return √numberBadge SHIPv5.gif

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...