Operators

Operators

An Operator is a function that acts on two or more values and returns a value. The most commonly used operators are special symbols like + for addition, - for subtraction. The variables that an operator acts on are called operands.

Example:
x+y = 30;
In the above example, + is the operator that adds the two operands x and y together.

Types of Operators

  1. Arithmetic Operators  
  2. Relational Operators 
  3. Conditional Operators 

Arithmetic Operators

An arithmetic operator operates on two numeric values and returns a single numeric value.
Syntax
  1. <op1> <Operator> <op2>
Where <op1> and <op2> are numeric expressions.

Relational Operators

A relational operator compares two values and returns a Boolean expression (either true or false) depending on the two values' relationship.
Example
  1. 5 > 4 returns true.
  2. 233.6 < 94.22 returns false.
Syntax
  1. <op1> <Operator> <op2>


Conditional Operators

A conditional operator operates on a Boolean expression. You can write complex decision logic by combining relational operators and conditional operators.
Syntax
  1. <boolean expression> && <boolean expression>
  2. <boolean expression> || <boolean expression>
  3. ! <boolean expression>

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION








                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                        Manage your brands on social media

                                          Zoho Desk Resources

                                          • Desk Community Learning Series


                                          • Digest


                                          • Functions


                                          • Meetups


                                          • Kbase


                                          • Resources


                                          • Glossary


                                          • Desk Marketplace


                                          • MVP Corner


                                          • Word of the Day


                                            Zoho Marketing Automation

                                              Zoho Sheet Resources

                                               

                                                  Zoho Forms Resources


                                                    Secure your business
                                                    communication with Zoho Mail


                                                    Mail on the move with
                                                    Zoho Mail mobile application

                                                      Stay on top of your schedule
                                                      at all times


                                                      Carry your calendar with you
                                                      Anytime, anywhere




                                                            Zoho Sign Resources

                                                              Sign, Paperless!

                                                              Sign and send business documents on the go!

                                                              Get Started Now




                                                                      Zoho TeamInbox Resources



                                                                              Zoho DataPrep Resources



                                                                                Zoho DataPrep Demo

                                                                                Get a personalized demo or POC

                                                                                REGISTER NOW


                                                                                  Design. Discuss. Deliver.

                                                                                  Create visually engaging stories with Zoho Show.

                                                                                  Get Started Now









                                                                                                      • Related Articles

                                                                                                      • Criteria in conditional statements

                                                                                                        This guide will help you with the following: Overview Syntax Example Applicable operators and expressions for TEXT expressions Applicable operators and expressions for NUMBER and Decimal expressions Applicable operators and expressions for DATE-TIME ...
                                                                                                      • Data Access - Criteria to fetch records

                                                                                                        This guide will help you with the following: 1. Overview 2. Syntax 3. Applicable operators for different datatypes Overview A criteria is required when you need to fetch a collection of records. Criteria comprises of one or more conditions separated ...
                                                                                                      • Assignment Statements

                                                                                                        Overview An assignment statement in Deluge uses the assignment operator (=) to assign the result of an expression to a variable. Syntax variable = expression;   Compound Assignment Operators A compound assignment operator is an operator that performs ...
                                                                                                      • Expressions

                                                                                                        Overview An expression is a combination of values, constants, variables, operators, or functions, evaluated to produce another value. The resulting value is one of the various data types, such as number, text, boolean, etc. Expressions are broadly ...
                                                                                                      • Expressions

                                                                                                        An expression is a combination of one or more explicit functions, variables, operators and constants. It is a valid unit of code that can be evaluated to a single value or object. Types of Expressions Expression in deluge are classified as follows: ...
                                                                                                        Wherever you are is as good as
                                                                                                        your workplace

                                                                                                          Resources

                                                                                                          Videos

                                                                                                          Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                          eBooks

                                                                                                          Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                          Webinars

                                                                                                          Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                          CRM Tips

                                                                                                          Make the most of Zoho CRM with these useful tips.



                                                                                                            Zoho Show Resources