Choose where you’d like to start

Overview

An operator, in a programming language, is a symbol that represents an action. It tells the program to perform specific mathematical, relational or logical actions on given values to produce a final result. 

Operations are usually performed between two values or variables or expressions, and those values are called as operands. So in a simple operation like 3 + 2 , the addition or the plus is the operator and 3 and 2 are the operands. The operands can be expressions, Zoho Service fields, or variables declared in Deluge.

Why do we need Operators?

Programming languages, such as Deluge, perform consistent data manipulation like calculations for instance. And there is continuous need for data to interact with each other in various forms such as performing arithmetic operations, concatenating string values, comparing given values. And all these operations are achieved by using the required type of operator.

Types of Operators

  • Arithmetic Operators: Arithmetic operators are used to perform calculations on numerical values, as well as to concatenate two or more string values. 
     
  • Assignment Operators: Assignment Operators are of two types -- Simple assignment operator and Compound assignment operator. The simple assignment operator assigns the value of the right operand to the variable (or the field) specified in the left operand. Compound assignment operators consist of a binary operator and the simple assignment operator. They perform the operation of the binary operator on both operands and store the result of that operation into the left operand.
     
  • Logical Operators: Logical operators are typically used with multiple conditions in a criteria. Each condition returns a boolean value, and the logical operators used to connect the conditions determine the overall boolean value of the criteria.
     
  • Relational Operators: Relational operators compare two given values and return a boolean value, most commonly used in conditional statements.

Get Started Now

Execute