Square roots

From TeacherWiki

Jump to: navigation, search

Calculating Square Roots in Variabalized Templates by Muhammad Saleem:

Use the command Math.sqrt to calculate the square root of any number in standardized or variabalized templates. In variabalized templates, an example of this command would look like:

%v{Math.sqrt(x)}, where 'x' is the any number for which you wish to take the square root. 'x' could also be in terms of a variable defined in the template.


When you test drive your template, this command would show the calculated square root.

Return to Tips on using the Builder

Personal tools
login or sign up