FEEL Numbers - Gnorion/BizVR GitHub Wiki

Numbers Numbers in FEEL are based on the IEEE 754-2008 Decimal 128 format, with 34 digits of precision. Internally, numbers are represented in Java as BigDecimals with MathContext DECIMAL128. FEEL supports only one number data type, so the same type is used to represent both integers and floating point numbers.

FEEL numbers use a dot (.) as a decimal separator. FEEL does not support -INF, +INF, or NaN. FEEL uses null to represent invalid numbers.

OPTIONAL

Scientific: suffix e or E. For example, 1.2e3 is the same as writing the expression 1.2*10**3, but is a literal instead of an expression.

Hexadecimal: prefix 0x. For example, 0xff is the same as the decimal number 255. Both uppercase and lowercase letters are supported. For example, 0XFF is the same as 0xff.

⚠️ **GitHub.com Fallback** ⚠️