Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11382

In Scala FEEL Engine, max double & max-float cannot be handled

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.13.0
    • Fix Version/s: 7.14.0, 7.14.0-alpha1
    • Component/s: None
    • Labels:
      None

      Description

      Steps to reproduce
      Use a variable in an output entry with the value Double.MAX_VALUE or Float.MAX_VALUE

      Expected behavior
      Variable value can be returned.

      Observed behavior
      A 0 value of type long is returned.

      Is this a bug according to the DMN FEEL 1.2 specification?

      • No, the specification proposes to represent the FEEL value number with the help of the Java Type java.math.BigDecimal
      • The Java type Double & Float is not explicitly supported

      Hints

      Estimation
      Unknown

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nikola.koevski Nikola Koevski
              Reporter:
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: