Operators And Literals
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.
Minus
-
Do NOT use for dates.
Multiply
*
Divide
/
Percent
%
Parenthesis
()
Comma
,
Not equal
<>
Equals
=
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
&
Literals
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
Last updated