-
-
Save parzibyte/b54a945b1f12bd54d39b80d0dab682a8 to your computer and use it in GitHub Desktop.
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
BigDecimal bd1 = new BigDecimal(50); | |
BigDecimal bd2 = new BigDecimal(50); | |
BigDecimal bd3 = bd1.add(bd1).add(bd2); | |
System.out.println(bd3.toString()); // 150 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment