[ https://issues.apache.org/jira/browse/ARROW-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243221#comment-16243221 ]
ASF GitHub Bot commented on ARROW-1709: --------------------------------------- cpcloud commented on issue #1292: ARROW-1709: [C++] Decimal.ToString is incorrect for negative scale URL: https://github.com/apache/arrow/pull/1292#issuecomment-342678512 Hm looks like another osx build timeout. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > [C++] Decimal.ToString is incorrect for negative scale > ------------------------------------------------------ > > Key: ARROW-1709 > URL: https://issues.apache.org/jira/browse/ARROW-1709 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Affects Versions: 0.7.1 > Reporter: Phillip Cloud > Assignee: Phillip Cloud > Labels: pull-request-available > Fix For: 0.8.0 > > > {{Decimal128::ToString(int precision, int scale)}} doesn't handle {{scale < > 0}} correctly. It should tack on an extra {{e<abs(scale)>}} to the end. -- This message was sent by Atlassian JIRA (v6.4.14#64029)