ppapou commented on a change in pull request #806: URL: https://github.com/apache/incubator-dlab/pull/806#discussion_r448965867
########## File path: services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/BillingServiceImpl.java ########## @@ -142,7 +142,7 @@ public BillingReport getExploratoryBillingData(String project, String endpoint, resourceNames.add(exploratoryName); List<BillingReportLine> billingData = billingDAO.findBillingData(project, endpoint, resourceNames) .stream() - .peek(bd -> bd.setCost(BigDecimal.valueOf(bd.getCost()).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue())) + .peek(bd -> bd.setCost(BigDecimal.valueOf(bd.getCost()).doubleValue())) .collect(Collectors.toList()); Review comment: Later billingData object is used for cost calculation and getting currency value ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@dlab.apache.org For additional commands, e-mail: dev-h...@dlab.apache.org