DMN 1.0 FTF Avatar
  1. OMG Issue

DMNFTF — Need floor and ceiling builtins

  • Key: DMNFTF-19
  • Status: closed  
  • Source: Oracle ( Gary Hallmark)
  • Summary:

    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.

    Proposed:

    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
  • Disposition Summary:

    Add floor and ceiling builtins

  • Updated: Tue, 21 Apr 2015 01:19 GMT
  • Attachments: