# Operators And Literals

These operators can be used to perform arithmetic and format all or parts of Numerical or Textual data:

<table><thead><tr><th width="259">Operators</th><th width="153.33333333333331"></th><th>Comments</th></tr></thead><tbody><tr><td>Plus</td><td><code>+</code></td><td>Can be numeric addition or text concatenation: <code>Number('1') + Number('1') = 2</code> or <code>'1' + '1' = 11</code><br>Do NOT use for dates.</td></tr><tr><td>Minus</td><td><code>-</code></td><td>Do NOT use for dates.</td></tr><tr><td>Multiply</td><td><code>*</code></td><td> </td></tr><tr><td>Divide</td><td><code>/</code></td><td> </td></tr><tr><td>Percent </td><td><code>%</code></td><td> </td></tr><tr><td>Parenthesis</td><td><code>()</code></td><td> </td></tr><tr><td>Comma</td><td><code>,</code></td><td> </td></tr><tr><td>Not equal</td><td><code>&#x3C;></code></td><td> </td></tr><tr><td>Equals</td><td><code>=</code></td><td> </td></tr><tr><td>Greater than</td><td><code>></code></td><td>See the <code>After</code> function in <a href="/pages/8PSAh72wiPDM5zocbP2V">Date Expressions</a></td></tr><tr><td>Less than</td><td><code>&#x3C;</code></td><td>See the <code>Before</code> function in <a href="/pages/8PSAh72wiPDM5zocbP2V">Date Expressions</a></td></tr><tr><td>Greater than or equal to</td><td><code>>=</code></td><td> Do NOT use for dates.</td></tr><tr><td>Less than or equal to </td><td><code>&#x3C;=</code> </td><td> Do NOT use for dates.</td></tr><tr><td>Logical and*</td><td><code>AND</code></td><td> </td></tr><tr><td>Logical or*</td><td><code>OR</code></td><td> </td></tr><tr><td>Logical not*</td><td><code>NOT</code></td><td> </td></tr><tr><td>Text concatenate</td><td><code>&#x26;</code></td><td> </td></tr></tbody></table>

{% hint style="warning" %}
**IMPORTANT** Do NOT use <,<=,>,>= or + when working with date values!\
See [Date Expressions](/product-suite/admin/databox-expressions/date-expressions.md) for specific date functions you can use for this.
{% endhint %}

### Literals

Literals are used to represent various types of data, such as numbers, characters, strings, Boolean values, and more:

| Literal Values |                  |
| -------------- | ---------------- |
| `Boolean`\*    | TRUE FALSE       |
| `Numbers`      | 0-9 +/-/.        |
| `Text`         | 'text' or "text" |

&#x20;\* = Case insensitive&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/product-suite/admin/databox-expressions/operators-and-literals.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
