Difference between revisions of "Documentation/How Tos/Calc: DELTA function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also:)
m (Robot: Automated text replacement %s)
Line 28: Line 28:
 
: in a cell shows <tt>'''FALSE'''</tt>, as 4 is not equal to 5.
 
: in a cell shows <tt>'''FALSE'''</tt>, as 4 is not equal to 5.
  
=== See also: ===
+
{{Documentation/SeeAlso|
'''[[Documentation/How_Tos/Calc: GESTEP function|GESTEP]]'''
+
* [[Documentation/How_Tos/Calc: GESTEP function|GESTEP]]'''
  
'''[[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]'''
+
* [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]'''
  
'''[[Documentation/How_Tos/Calc: Information functions|Information functions]]'''
+
* [[Documentation/How_Tos/Calc: Information functions|Information functions]]'''
  
[[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]]}}
  
 
=== Issues: ===
 
=== Issues: ===
 
* <tt>'''DELTA'''</tt> should only be used with numbers - see [http://qa.openoffice.org/issues/show_bug.cgi?id=86283 issue 86283].
 
* <tt>'''DELTA'''</tt> should only be used with numbers - see [http://qa.openoffice.org/issues/show_bug.cgi?id=86283 issue 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.

Revision as of 13:43, 25 February 2009


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.

Template:Documentation/SeeAlso

Issues:

  • DELTA should only be used with numbers - see issue 86283.
  • DELTA currently appears in the AddIn category of the Function Wizard.
Personal tools