Skip to content

Sqrt command

Alvin Cheng edited this page Feb 12, 2023 · 1 revision

Description

This is the Sqrt command (which is short for square root). This command will simply calculate the square root of the number in parameter 1 and return the result in the variable in parameter 2. Here is an example.

Square root

A square root is basically the reverse of an index, or in other words, what number multiplied by itself is equal to the number. More information can be found here: https://en.wikipedia.org/wiki/Square_root

Example

$ANSWER = (sqrt <NUMBER>);
Clone this wiki locally