updated: help
git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@118 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -16,15 +16,15 @@
|
||||
|
||||
<p>Below is a list of operators priority. At the top are operators with higher precedence.</p>
|
||||
|
||||
<table>
|
||||
<table class="operatorspriority">
|
||||
<thead>
|
||||
<tr><td>Operator</td><td>Description</td><td>Sample</td></tr>
|
||||
</thead>
|
||||
<tr><td>( )</td><td>parentheses for grouping an expression</td><td>(1+3)*4</td></tr>
|
||||
<tr><td>- + # &</td><td>unary minus and plus, and operators for changing the base (radix)</td><td>-10</td></tr>
|
||||
<tr><td>without an operator</td><td>short form of multiplicating (only if the second argument is a variable or function)</td><td>3y</td></tr>
|
||||
<tr><td>^</td><td>powering</td><td>3^2</td></tr>
|
||||
<tr><td>* /</td><td>multiplication and division</td><td>10*20</td></tr>
|
||||
<tr><td>without an operator</td><td>short form of multiplication<br>(only if the second argument is a variable or function,<br>the same priority as a normal multiplication)</td><td>3y</td></tr>
|
||||
<tr><td>+ -</td><td>addition and subtraction</td><td>10-30</td></tr>
|
||||
<tr><td>== != < > <= >=</td><td>comparative operators</td><td>4<5</td></tr>
|
||||
<tr><td>&&</td><td>logical and</td><td>3>2 && 3<10</td></tr>
|
||||
|
Reference in New Issue
Block a user