Operators And Literals
Special operators and literals that can be used within Databox Expressions.
Last updated
Was this helpful?
Special operators and literals that can be used within Databox Expressions.
Last updated
Was this helpful?
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.
Minus
-
Do NOT use for dates.
Multiply
*
Divide
/
Percent
%
Parenthesis
()
Comma
,
Not equal
<>
Equals
=
Greater than
>
Less than
<
Greater than or equal to
>=
Do NOT use for dates.
Less than or equal to
<=
Do NOT use for dates.
Logical and*
AND
Logical or*
OR
Logical not*
NOT
Text concatenate
&
IMPORTANT Do NOT use <,<=,>,>= or + when working with date values! See 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
*
TRUE FALSE
Numbers
0-9 +/-/.
Text
'text' or "text"
* = Case insensitive
See the After
function in
See the Before
function in