The sqrt() NWScript command returns the square root of a float. That is, if the number returned is multiplied by itself, the product is the number that was passed to the command. Negative numbers do not have square roots, and this command returns zero if asked to find one.


float sqrt (float fValue)

float fValue 
The number to take the square root of.

See alsoEdit

  • pow() — general power function

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.