Difference between revisions of "Documentation/How Tos/Calc: DELTA function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (talk | contribs) m (Bot: Adding Category: Documentation) |
m |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:DELTA function}} |
+ | {{Documentation/CalcFunc MathematicalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_COUNTIF_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_ERF_function | ||
+ | }}__NOTOC__ | ||
== DELTA == | == DELTA == | ||
Line 9: | Line 14: | ||
<tt>'''DELTA(number1; number2)'''</tt> | <tt>'''DELTA(number1; number2)'''</tt> | ||
− | : <tt>'''number1'''</tt> and <tt>'''number2'''</tt> are numbers. If <tt>'''number2'''</tt> is omitted it is assumed to be <tt>'''0'''</tt>. | + | : <tt>'''number1'''</tt> and <tt>'''number2'''</tt> are numbers. If <tt>'''number2'''</tt> is omitted, it is assumed to be <tt>'''0'''</tt>. |
: This function is an implementation of the (mathematical) Kronecker delta function. | : This function is an implementation of the (mathematical) Kronecker delta function. | ||
Line 29: | Line 34: | ||
=== Issues: === | === Issues: === | ||
− | * <tt>'''DELTA'''</tt> should only be used with numbers - see | + | * <tt>'''DELTA'''</tt> should only be used with numbers - see {{bug|86283}}. |
* <tt>'''DELTA'''</tt> currently appears in the AddIn category of the Function Wizard. | * <tt>'''DELTA'''</tt> currently appears in the AddIn category of the Function Wizard. | ||
− | {{ | + | {{SeeAlso|EN| |
* [[Documentation/How_Tos/Calc: GESTEP function|GESTEP]] | * [[Documentation/How_Tos/Calc: GESTEP function|GESTEP]] | ||
Line 41: | Line 46: | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
− | [[Category: Documentation]] | + | [[Category: Documentation/Reference/Calc/Mathematical functions]] |
Latest revision as of 15:17, 31 January 2024
Trigonometric
Hyperbolic
Rounding and remainders
Logarithm/Powers
Bessel functions
Miscellaneous
< {{#switch:Previous Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} | {{#switch:Next Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} > |
DELTA
Returns 1 if two numbers are equal, and 0 otherwise.
This function is only available if the Analysis AddIn is installed.
Syntax:
DELTA(number1; number2)
- number1 and number2 are numbers. If number2 is omitted, it is assumed to be 0.
- This function is an implementation of the (mathematical) Kronecker delta function.
- number1=number2 returns TRUE or FALSE instead of 1 or 0, but is otherwise identical for number arguments.
Example:
DELTA(4; 5)
- returns 0.
DELTA(4; A1)
- where cell A1 contains 4, returns 1.
DELTA(0)
- returns 1.
=4=5
- in a cell shows FALSE, as 4 is not equal to 5.
Issues:
- DELTA should only be used with numbers - see Issue 86283 .
- DELTA currently appears in the AddIn category of the Function Wizard.
{{#switch:EN
| RU = Смотрите также:
| UA = Дивіться також:
| EN = See Also
| PT = Ver também
| #default = See Also
}}