Sqrt - Math
Revision as of 15:12, 2 December 2015 by imported>Plplecuyer
Member of: Math Script
Calculates the square root of the number it is given.
SyntaxEdit
float Function sqrt(float afValue) native global
ParametersEdit
- afValue: The value to get the square root of.
Return ValueEdit
The square root of the passed-in value.
ExamplesEdit
float x = sqrt(4) ; x == 2
float y = sqrt(10) ; y ~= 3.16228