DMN 1.6b1 RTF Avatar
  1. OMG Issue

DMN16 — Behaviour when decimal is provided but integer expected

  • Key: DMN16-82
  • Status: closed  
  • Source: Goldman Sachs ( Dr. Octavian Patrascoiu)
  • Summary:

    In the DMN spec the only supported number type is decimal.

    However, there are a few places (e.g. scale in round functions and list access) when an integer is needed.

    What is the expected behavior when an integer is expected but a decimal number is provided? For example 'decimal(123, 5.6)' or ''remove([1, 2], 1.5).

    Is this an error or the engine recovers from the error and uses only the integer part of the number?

  • Reported: DMN 1.5b1 — Thu, 20 Jul 2023 15:34 GMT
  • Disposition: Resolved — DMN 1.6b1
  • Disposition Summary:

    Define type conversion from decimal to integer

    Define type conversion from decimal to integer

  • Updated: Mon, 16 Sep 2024 14:16 GMT