Numbers

Number types are represented as a set of digits with a possible decimal point separator, a grouping symbol, a minus sign and an exponent. You can use operators and functions to perform arithmetic operations and compare numbers.
Table 1. Supported number types
Type Example
Integer 10
Decimal, with decimal point separator 10.5
Decimal, with ‘000 grouping separator and decimal point separator 150,500.51
Negative integer -10
Exponent 10E-5

The lexical representation of numbers (the decimal point separator and the grouping separator) is locale-specific.

Note:

Big number literals are not supported in the rule language. All literals manipulated in a rule must be within the range of the Java™ Double class, otherwise they are rounded to the closest Double value.