Help:ParserFunctions: Difference between revisions
Content deleted Content added
m Reverted changes by 217.93.91.70 (talk) to last version by Ed de Jonge |
→Functions: The main operators are listed below. For more, see Help:Calculation |
||
Line 41:
The <tt>expr</tt> function computes mathematical expressions based on permutations of numbers (or [[variable]]s/[[parameter]]s that translate to numbers) and operators. It does not recognize strings (use <tt>[[#.23ifeq:|ifeq]]</tt> below instead). The accuracy and format of numeric results varies with the server's operating system.
In a complex expression, operators are evaluated from left to right with the following precedence (explained in more detail in [[Help:Calculation]]): # grouping (parentheses);
# unary (+/- signs and NOT);
|