Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2474

Cannot round to a negative precision (to the left of the decimal)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.6.0
    • Fix Version/s: 4.9.0, 4.8.1
    • Component/s: None

      Description

      Query:

      select ROUND(444.44, -2)

      Expected result:

      400

      Actual result:

      444.44

        Attachments

        1. PHOENIX-2474.patch
          3 kB
          Kevin Liew

          Issue Links

            Activity

              People

              • Assignee:
                kliew Kevin Liew
                Reporter:
                kliew Kevin Liew
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: