Difference between revisions of "Documentation/How Tos/Calc: CURRENT function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
m |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:CURRENT funtion}} |
+ | {{Documentation/CalcFunc InformationTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_CELL_functions | ||
+ | |NextPage=Documentation/How_Tos/Calc:_FORMULA_function | ||
+ | }}__NOTOC__ | ||
== CURRENT == | == CURRENT == | ||
Line 23: | Line 28: | ||
=== Further information: === | === Further information: === | ||
− | : This function is best used only in simple situations. A more complex example: <tt>'''1 + 2*CURRENT()'''</tt> returns <tt>'''5'''</tt>, because although the <tt>'''1'''</tt> has been encountered as the formula is evaluated, it is ignored | + | : This function is best used only in simple situations. A more complex example: <tt>'''1 + 2*CURRENT()'''</tt> returns <tt>'''5'''</tt>, because although the <tt>'''1'''</tt> has been encountered as the formula is evaluated, it is ignored because evaluating the multiplication has precedence. The formula's value upto <tt>'''CURRENT()'''</tt> equals <tt>'''2'''</tt>. Thus, <tt>''' 2*CURRENT()'''</tt> yields <tt>'''4'''</tt>, with the result: <tt>'''1 + 4'''</tt> equals <tt>'''5'''</tt>. However, the exact order of calculation in more complex cases should not be relied on. |
− | {{ | + | {{SeeAlso|EN| |
* [[Documentation/How_Tos/Calc: STYLE function|STYLE]] | * [[Documentation/How_Tos/Calc: STYLE function|STYLE]] | ||