Shiny Language Reference
Language Reference > Math Functions
sqrt
double sqrt(double Param);
Calculates square root
Returns the square root of Param.
Parameters
Param
Positive floating point value to calculate the square root of. Integers may be used through implicit type conversion.
Return Value
Square root of Param
Example Code
// Calculate square root of 2048
double Res = sqrt(2048);