Source: Oracle ( Gary Hallmark)
FEEL has but one kind of number. There is no integer type.
Sometimes, it is required to convert a number such as 1.7 to the number 1.
This is not easy with the existing set of builtins. Note that decimal(1.7, 0) = 2.
floor(1.7) = 1
ceiling(1.1) = 2
x[i] = x[floor(i)]
Reported: DMN 1.0b1 — Mon, 28 Oct 2013 22:32 GMT
Disposition: Resolved — DMN 1.0
Add floor and ceiling builtins
Updated: Tue, 21 Apr 2015 01:19 GMT
- floor.doc 34 kB (application/msword)