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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.6.0
    • 4.9.0, 4.8.1
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: