# 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="date-expressions">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="date-expressions">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](https://docs.keyfax.biz/product-suite/admin/databox-expressions/date-expressions) 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;
