Square root: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>Bale mNo edit summary |
||
Line 5: | Line 5: | ||
FunctionPage| | FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 21: | Line 20: | ||
}} | }} | ||
[[Category:Math and Numbers]] |
Revision as of 05:06, 22 May 2010
needs(code_samples);
Function Syntax
float square_root(float number )
- number is the number to find the root of
Returns the square root of the specified number. Note that it is possible supply an int type number as the parameter number, in which case it will be transparently converted to a float; the value returned will still be of float type (even if the int value would be equal, such as specifying 4 as number).