Created
October 31, 2016 13:48
-
-
Save ykws/59007409c582168a2c7e62cf866c32a0 to your computer and use it in GitHub Desktop.
Caution: DecimalFormat round by default ref: http://qiita.com/ykws/items/11218e2b21d4a1e93567
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DecimalFormat df = new DecimalFormat(); | |
df.setRoundingMode(RoundingMode.HALF_UP); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment