Data types in Formula Fields

Data types in Formula Fields

Data type is the kind of data that can be held and stored while evaluating an expression. Data types are the defined set of values and the allowable operations on those values. They represent either the function, argument, return value or the complete formula itself. The different data types available in Zoho CRM Formula Fields are:

  • Numeric data type
  • Currency data type
  • String data type
  • DateTime data type
  • Boolean data type

Numeric Data Type

The numeric data type contains number (digits) in various representations and performs the calculations. The Numeric data type can be integral types with only whole numbers (positive, negative and zero) and non-integral types with both integer and decimal parts. Example for Numeric data types are +5, -9, 10, 0 (integral types) and -25.02, 27.25 (non-integral types).

Currency Data Type

The currency data type is used for data types that hold monetary values or financial calculations. This contains the numeric value of data along with the currency symbol of the selected currency locale.

String Data Type

A string data type is an ordered sequence of symbols. These symbols can be chosen from a predetermined set of mathematical objects or alphabets (unicode characters). Example for String data types are: 'demo', 'crm'.

DateTime Data Type

The datetime data type is used to store or display values that are both date and time or only date. Examples are ('May 15, 2004 11:25am').

Boolean Data Type

The boolean data type, also known as the logical data type are used to represent the logical values of true and false. Example for Boolean data types are: true; false.


    • Related Articles

    • Building Formula Fields

      The Zoho CRM formula fields enable you to define fields that can populate dynamically calculated data based on the values returned from other standard or custom fields. For instance, an insurance company may need to determine, if the provided date of ...
    • Creating Formula Fields

      Formula fields are used to calculate different types of values, including numeric values, text values, date values, etc. Formula fields and their resulting return value have certain data types associated with them and there are specific operators ...
    • Functions in Formula Fields

      Function performs a specific operation on values that you specify and generates a new value. To compose a function, you need to type the function name, followed by a set of parentheses(). The Zoho CRM formula type custom field supports four different ...
    • Types of Custom Fields

      In Zoho CRM, you can add different types of custom fields as per your requirements. These fields will be available to all the users added to your organization's CRM account. Customize Zoho Defined Fields : You can edit, delete and hide some of Zoho ...
    • Examples of Formula Field

      Formula Fields can be complicated sometimes. So, here are examples that will help you understand the usage of these types of fields in Zoho CRM. IF ELSE Statement Example: If field name contains 'Golf Only 1 Meal', then return 265 ; Else if field ...