Special operators and literals that can be used within Databox Expressions.
These operators can be used to perform arithmetic and format all or parts of Numerical or Textual data:
Plus
+
Can be numeric addition or text concatenation: Number('1') + Number('1') = 2 or '1' + '1' = 11 Do NOT use for dates.
Number('1') + Number('1') = 2
'1' + '1' = 11
Minus
-
Do NOT use for dates.
Multiply
*
Divide
/
Percent
%
Parenthesis
()
Comma
,
Not equal
<>
Equals
=
Greater than
>
See the After function in Date Expressions
After
Less than
<
See the Before function in Date Expressions
Before
Greater than or equal to
>=
Less than or equal to
<=
Logical and*
AND
Logical or*
OR
Logical not*
NOT
Text concatenate
&
IMPORTANT Do NOT use <,<=,>,>= or + when working with date values! See Date Expressions for specific date functions you can use for this.
Literals are used to represent various types of data, such as numbers, characters, strings, Boolean values, and more:
Boolean*
Boolean
TRUE FALSE
Numbers
0-9 +/-/.
Text
'text' or "text"
* = Case insensitive
Last updated 2 years ago