sqrt. Square root of a number

^math:sqrt(number)

This method calculates square root of the number.

Example
^math:sqrt(16)

…returns 4.

Note (if you have completely forgotten what you learnt at school):
n
th root of a number is calculated by raising it to the power 1/n.


Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 20.09.2007