You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Kevin Liew (JIRA)" <ji...@apache.org> on 2016/09/22 15:50:20 UTC

[jira] [Assigned] (PHOENIX-3312) Dividing int constant values should result in decimal

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

Kevin Liew reassigned PHOENIX-3312:
-----------------------------------

    Assignee: Kevin Liew

> Dividing int constant values should result in decimal
> -----------------------------------------------------
>
>                 Key: PHOENIX-3312
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3312
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.6.0
>            Reporter: noam bulvik
>            Assignee: Kevin Liew
>             Fix For: 4.9.0
>
>
> When dividing int constants the result is an int while it should be decimal  (like 1/3 = 0 and not 0.33) 
> There is a work around to do 1/3.0 but this is not a solution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)