Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EDED9200BE8 for ; Fri, 9 Dec 2016 03:55:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EC792160B27; Fri, 9 Dec 2016 02:55:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 67413160B1F for ; Fri, 9 Dec 2016 03:55:15 +0100 (CET) Received: (qmail 72339 invoked by uid 500); 9 Dec 2016 02:55:14 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 72328 invoked by uid 99); 9 Dec 2016 02:55:14 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2016 02:55:14 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 308B5E108E; Fri, 9 Dec 2016 02:55:14 +0000 (UTC) From: FishMeat To: dev@poi.apache.org Reply-To: dev@poi.apache.org References: In-Reply-To: Subject: [GitHub] poi pull request #43: fix roundUp and roundDown Content-Type: text/plain Message-Id: <20161209025514.308B5E108E@git1-us-west.apache.org> Date: Fri, 9 Dec 2016 02:55:14 +0000 (UTC) archived-at: Fri, 09 Dec 2016 02:55:16 -0000 GitHub user FishMeat reopened a pull request: https://github.com/apache/poi/pull/43 fix roundUp and roundDown roundUp function produces an unexpected floating point approximated value =ROUNDUP(3987 * 0.2, 2) produces 797.41 but i want get 797.4 You can merge this pull request into a Git repository by running: $ git pull https://github.com/FishMeat/poi patch-3 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/poi/pull/43.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #43 ---- commit c144c3de27fe2c495f8dbefa2d94c67b9cd254c2 Author: Bobo <330771743@qq.com> Date: 2016-12-05T03:10:22Z fix roundUp and roundDown roundUp function produces an unexpected floating point approximated value =ROUNDUP(3987 * 0.2, 2) produces 797.41 but i want get 797.4 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org