0005-Context-help-for-ln-exp-log-and-log10.patch

Alister Hood, 2011-10-19 12:11 AM

Download (2.37 KB)

View differences:

resources/context_help/QgsFieldCalculator-en_US
18 18
<tr><td>'string'</td><td>literal string value</td></tr>
19 19
<tr><td><i>number</i></td><td>number</td></tr>
20 20
<tr><td>NULL</td><td>null value</td></tr>
21
<tr><td>exp(<tt>a</tt>)</td><td>Euler's number e to the power of <tt>a</tt></td></tr>
22
<tr><td>ln(<tt>a</tt>)</td><td>natural log (i.e. base e) of <tt>a</tt></td></tr>
23
<tr><td>log10(<tt>a</tt>)</td><td>log base 10 of <tt>a</tt></td></tr>
24
<tr><td>log(<tt>a</tt>,<tt>b</tt>)</td><td>log base <tt>b</tt> of <tt>a</tt></td></tr>
21 25
<tr><td>sqrt(<tt>a</tt>)</td><td>square root</td></tr>
22 26
<tr><td>sin(<tt>a</tt>)</td><td>sinus of <tt>a</tt></td></tr>
23 27
<tr><td>cos(<tt>a</tt>)</td><td>cosinus of <tt>b</tt></td></tr>
......
43 47
<tr><td>$id</td><td>feature id</td></tr>
44 48
<tr><td>$x</td><td>x coordinate of point</td></tr>
45 49
<tr><td>$y</td><td>y coordinate of point</td></tr>
46
<tr><td>xat(n)</td><td>x coordinate of nth point of a line (indizes start at 0; negative values apply to the last index)</td></tr>
47
<tr><td>yat(n)</td><td>y coordinate of nth point of a line (indizes start at 0; negative values apply to the last index)</td></tr>
50
<tr><td>xat(n)</td><td>x coordinate of nth point of a line (indices start at 0; negative values apply to the last index)</td></tr>
51
<tr><td>yat(n)</td><td>y coordinate of nth point of a line (indices start at 0; negative values apply to the last index)</td></tr>
48 52
<tr><td><tt>a</tt> ^ <tt>b</tt></td><td><tt>a</tt> raised to the power of <tt>b</tt></td></tr>
49 53
<tr><td><tt>a</tt> * <tt>b</tt></td><td><tt>a</tt> multiplied by <tt>b</tt></td></tr>
50 54
<tr><td><tt>a</tt> / <tt>b</tt></td><td><tt>a</tt> divided by <tt>b</tt></td></tr>
51
-