ReferenceFunctionsEngineering Functions
DELTA
DELTA: Tests whether two numbers are equal.
Summary
Returns 1 when values match and 0 otherwise.
Remarks
- If
number2is omitted, it defaults to0. - Inputs are numerically coerced.
- Uses a small numeric tolerance for floating-point comparison.
Examples
Equal values
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
1
Default second argument
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
0
Related functions
FAQ
Does DELTA require exact floating-point equality?
It uses a small tolerance (1e-12), so values that differ only by tiny floating noise compare as equal.
Runtime metadata
Category
Engineering
Signature
DELTA(arg1: Number, arg2…: Number)Arity
min 1, max variadic
Arguments
arg1Number · Scalar · coercion NumberLenientText
arg2Number · Scalar · coercion NumberLenientText
Caps
PURE
Source