The EQUAL (==) operator is used to compare two values and check if they are equal. It returns true if the two compared values are exactly the same; otherwise, it returns false. This operator is essential for creating logical conditions in formulas and scripts, allowing actions to be taken based on whether the values match or not.
➡️ Display Name:
➡️ Syntax: :
➡️ The Example:
In this example, the condition is true only if the value of age is exactly 18. If the age is different (for example, 17 or 19), the condition will be false.
- 1 value 🟡: age is the first value being compared.
- 1 operator 🟣: == is the comparison operator.
- 1 value 🟡: 18 is the second value with which age is compared.
Expected Result:
- If age == 18, the condition is true.
- If age is 17 or 19, the condition is false.
Practical Use:
It is widely used in programming and spreadsheets to take actions based on the comparison result.
The EQUAL TO (==) operator works with both numbers and text strings.
Example in an application:
Checking if a user has a specific status:
Before You Start
Getting Started with Formulas
The new formulas in Timetonic allow you to transform, calculate, and manipulate the information stored in your columns by combining multiple functions...
Or Continue With
Glossary View of Formulas
Quickly find the function or operator you're looking for or simply explore and learn how to use them...
Comments
0 comments
Please sign in to leave a comment.