DMN 1.4 RTF Avatar
  1. OMG Issue

DMN14 — BigDecimal is not the only mapping of number to Java

  • Key: DMN14-1
  • Status: closed  
  • Source: Thematix Partners LLC ( Mr. Edward J. Barkmeyer)
  • Summary:

    Clause 10.3.2.9 shows FEEL number values as mapped to XML decimal, integer, and double, but the only mapping to Java is to BigDecimal. The appropriate mapping to Java, like the appropriate mapping to XML, depends on the range and intent of the data element. BigDecimal is rarely used for anything but currency. Java int and double are much more likely to be appropriate for most data items. The mapping of number to Java should be just as flexible as the mapping to XML and PMML.

  • Reported: DMN 1.0 — Wed, 9 Jul 2014 21:23 GMT
  • Disposition: Closed; No Change — DMN 1.4
  • Disposition Summary:

    BigDecimal is not the only mapping of numbers in Java

    The use of other number types in Java can be done by implementing engine optimizations, as long as the overall semantics of FEEL numbers is supported.

  • Updated: Thu, 31 Mar 2022 19:30 GMT