Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1709

[C++] Decimal.ToString is incorrect for negative scale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.1
    • 0.8.0
    • C++

    Description

      Decimal128::ToString(int precision, int scale) doesn't handle scale < 0 correctly. It should tack on an extra e<abs(scale)> to the end.

      Attachments

        Issue Links

          Activity

            People

              cpcloud Phillip Cloud
              cpcloud Phillip Cloud
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: