You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Michael Beckerle (JIRA)" <ji...@apache.org> on 2019/02/01 17:03:00 UTC

[jira] [Created] (DAFFODIL-2063) DPath: long div long results in double. Should be decimal.

Michael Beckerle created DAFFODIL-2063:
------------------------------------------

             Summary: DPath:  long div long results in double. Should be decimal. 
                 Key: DAFFODIL-2063
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2063
             Project: Daffodil
          Issue Type: Bug
          Components: Middle &quot;End&quot;
    Affects Versions: 2.2.0
            Reporter: Michael Beckerle


Expression ( (9 * xs:long(5) ) div 1600) results in a double. This is because it creates the DivLong operation internally, which incorrectly produces double type as result when it should be decimal.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)