jadams-tresys commented on issue #196: Use setScale() not round() when rounding 
BigDecimals
URL: 
https://github.com/apache/incubator-daffodil/pull/196#issuecomment-473361431
 
 
   Just added a test to confirm that BigDecimal.setScale does in fact return a 
copy of the original BigDecimal with its scale changed, so it is side effect 
free.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to