[prev in list] [next in list] [prev in thread] [next in thread]
List: poi-dev
Subject: [Bug 64620] Apache POI API evaluation value - Excel value - not matching
From: bugzilla () apache ! org
Date: 2020-07-27 3:18:51
Message-ID: bug-64620-47293-ozkreosRbl () https ! bz ! apache ! org/bugzilla/
[Download RAW message or body]
https://bz.apache.org/bugzilla/show_bug.cgi?id=64620
--- Comment #1 from west wong <deadshoot@foxmail.com> ---
new BigDecimal(3000/12*(1-0.8)).setScale(0,RoundingMode.HALF_UP);
The value of newScale denpends on what you need !
I usually use setScale(2,RoundingMode.HALF_UP);
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic