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

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

     [ https://issues.apache.org/jira/browse/DAFFODIL-2063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Adams resolved DAFFODIL-2063.
----------------------------------
       Resolution: Fixed
         Assignee: Dave Thompson  (was: Josh Adams)
    Fix Version/s: 2.3.0

This has been fixed in commit a20ff4172807f5e0264ce68142f15f9798df1e8b

> 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
>            Assignee: Dave Thompson
>            Priority: Major
>             Fix For: 2.3.0
>
>
> 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)