SQRT: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
{{Command|syntax=[[Image:sqrt.png|right|SQRT]]SQRT <n>
{{Command|syntax=[[Image:sqrt.png|right|SQRT]]SQRT <n>
|description=:Returns the square root value of the input, to view the result use [[DEBUG|debug]].
|description=:Returns the square root value of the input.


|param1=<n>|param1_desc={{n}}
|param1=<n>|param1_desc={{n}}

Revision as of 17:57, 22 July 2010

Command

SQRT
SQRT
SQRT <n>


Returns the square root value of the input.

Parameters

<n>
Anything that evaluates to a number. This can be a variable, a number, another function, or an expression which includes numbers, variables and/or functions.
For example:
123
r1
r2 + r3
(r1 + (abs(a1 * a2) / (b3 * 62)))

Example

a1 = SQRT(w1)
a2 = SQRT(12-w1)
a3 = SQRT(a2/abs(w1))