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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15512288#comment-15512288 ] 

James Taylor commented on PHOENIX-3312:
---------------------------------------

[~kliew] - would you have some spare cycles for this one?

> 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
>             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)