DELTA function

DELTA(Number1, Number2?) DELTA(Number1; Number2?)

Number1

Number or { Number }

The first parameter.

Number2

Number or { Number } (optional)

The second parameter. If omitted, it is assumed to be 0.

Returns

Number or { Number }

1 or 0.

Returns 1 if both parameters are equal and 0 otherwise. This function is an implementation of the (mathematical) Kronecker delta function.

Examples

DELTA(4, 5)DELTA(4; 5)

Returns 0.

DELTA(5, 5)DELTA(5; 5)

Returns 1.

DELTA(0)DELTA(0)

Returns 1.