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.

ConstructSyntax
arithmetic operators+ - * / **
comparison and boolean operators= != < <= > >= · and or
instance ofvalue 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.

+ - * / **

ElementTypeDescription
**numberexponentiation
/numberdivision; division by zero yields null in standard FEEL
2 + 3 * 4
returns 14 Try it ↑
(2 + 3) * 4
returns 20 Try it ↑
2 ** 3
returns 8 Try it ↑
0.1 + 0.2
returns 0.3 Try it ↑
"total: " + string(5)
returns total: 5 Try it ↑

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

ElementTypeDescription
=booleanequality; a single equals sign
and / orbooleanconjunction and disjunction, spelled as words
1 = 1
returns true Try it ↑
1 != 2
returns true Try it ↑
true and false or true
returns true Try it ↑
date("2026-07-01") < date("2026-08-01")
returns true Try it ↑
not(true)
returns false Try it ↑

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

ElementTypeDescription
valueanythe value to test
typetype namea FEEL type, optionally parameterized (list<string>)
1 instance of number
returns true Try it ↑
["a"] instance of list<string>
returns true Try it ↑
date("2026-01-01") instance of date
returns true Try it ↑
"x" instance of number
returns false Try it ↑

Related: null and error propagation · if … then … else · string · number

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).