Difference between revisions of "SHIP:Sail:sqrt"

From Serious Documentation
Jump to: navigation, search
Line 40: Line 40:
 
|<code>{{SailFunc|sqrt}}(100);</code> || 10.000000... ||
 
|<code>{{SailFunc|sqrt}}(100);</code> || 10.000000... ||
 
|}
 
|}
 +
 +
[[Categories: Numeric Functions]]

Revision as of 14:43, 4 October 2016

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

Categories: Numeric Functions