FEEL operators
FEEL language guide · 3 constructs · DMN 1.6
FEEL operators look like the ones in most languages, with a few differences that matter in decision logic. Numbers are decimals, so 0.1 + 0.2 is exactly 0.3. Equality is a single =. and and or are words, and negation is the function not(). A type mismatch gives null instead of an error.
between, in and the comparison operators share one precedence level and group from left to right. Arithmetic binds tighter, and and and or bind looser. The three-valued logic of and and or has its own truth tables on the boolean functions page.
| Construct | Syntax |
|---|---|
| arithmetic operators | + - * / ** |
| comparison and boolean operators | = != < <= > >= · and or |
| instance of | value instance of type |
arithmetic operators
FEEL has standard arithmetic with the usual precedence and writes exponentiation as **. FEEL numbers are decimals, not binary floating point, so monetary arithmetic does not accumulate the rounding error familiar from doubles. The + operator also concatenates strings.
+ - * / **
| Element | Type | Description |
|---|---|---|
| ** | number | exponentiation |
| / | number | division; division by zero yields null in standard FEEL |
2 + 3 * 4
(2 + 3) * 4
2 ** 3
0.1 + 0.2
"total: " + string(5)
Related: comparison and boolean operators · null and error propagation · temporal literals @"…" · decimal · round up · sum
comparison and boolean operators
Equality is a single = (not ==), and inequality is !=. Comparison works on numbers, strings, dates, times and durations. The boolean operators are the words and and or; negation is the built-in function not(), not an operator. The comparison operators share one precedence level with between and in, and they group from left to right.
= != < <= > >= · and or
| Element | Type | Description |
|---|---|---|
| = | boolean | equality; a single equals sign |
| and / or | boolean | conjunction and disjunction, spelled as words |
1 = 1
1 != 2
true and false or true
date("2026-07-01") < date("2026-08-01")
not(true)
Related: if … then … else · unary tests (decision table cells) · null and error propagation · not · all · any
instance of: check the type of a value
instance of tests the type of a value at runtime against a FEEL type name: number, string, boolean, date, time, date and time, days and time duration, years and months duration, list, context, or a parameterized type such as list<string>. Useful as a guard before arithmetic, since FEEL yields null rather than an error on a type mismatch.
value instance of type
| Element | Type | Description |
|---|---|---|
| value | any | the value to test |
| type | type name | a FEEL type, optionally parameterized (list<string>) |
1 instance of number
["a"] instance of list<string>
date("2026-01-01") instance of date
"x" instance of number
Related: null and error propagation · if … then … else · string · number
Related guides
Every result on this page was computed by the Impulse FEEL engine 0.9.1, the interpreter that runs the playground. Last updated .
Defined by the OMG DMN 1.6 specification, chapter 10.3 (the FEEL grammar and semantics).