[ https://issues.apache.org/jira/browse/PHOENIX-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437603#comment-15437603 ]
ASF GitHub Bot commented on PHOENIX-2474: ----------------------------------------- GitHub user kliewkliew opened a pull request: https://github.com/apache/phoenix/pull/198 PHOENIX-2474 Cannot round to a negative precision (to the left of the… … decimal) You can merge this pull request into a Git repository by running: $ git pull https://github.com/kliewkliew/phoenix PHOENIX-2474 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/phoenix/pull/198.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #198 ---- commit acf094a1f029180d3a09cc3903334a0e1f3de090 Author: kliewkliew <kliewkl...@users.noreply.github.com> Date: 2016-08-23T15:25:12Z PHOENIX-2474 Cannot round to a negative precision (to the left of the decimal) ---- > Cannot round to a negative precision (to the left of the decimal) > ----------------------------------------------------------------- > > Key: PHOENIX-2474 > URL: https://issues.apache.org/jira/browse/PHOENIX-2474 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.6.0 > Reporter: Kevin Liew > Labels: function, newbie, phoenix > > Query: > {noformat}select ROUND(444.44, -2){noformat} > Expected result: > {noformat}400{noformat} > Actual result: > {noformat}444.44{noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)