Skip to content

Commit

Permalink
Update bigdecimal.md
Browse files Browse the repository at this point in the history
issue中的链接没有更改
  • Loading branch information
cyuewen authored Sep 29, 2023
1 parent b83d88c commit 0810bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/java/basis/bigdecimal.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public class BigDecimalUtil {
}
```

相关 issue:[建议对保留规则设置为 RoundingMode.HALF_EVEN,即四舍六入五成双]([#1122](https://github.com/Snailclimb/JavaGuide/issues/1122))
相关 issue:[建议对保留规则设置为 RoundingMode.HALF_EVEN,即四舍六入五成双]([#2129](https://github.com/Snailclimb/JavaGuide/issues/2129))

![RoundingMode.HALF_EVEN](https://oss.javaguide.cn/github/javaguide/java/basis/RoundingMode.HALF_EVEN.png)

Expand All @@ -361,4 +361,4 @@ public class BigDecimalUtil {

不过,Java 提供了`BigDecimal` 来操作浮点数。`BigDecimal` 的实现利用到了 `BigInteger` (用来操作大整数), 所不同的是 `BigDecimal` 加入了小数位的概念。

<!-- @include: @article-footer.snippet.md -->
<!-- @include: @article-footer.snippet.md -->

0 comments on commit 0810bdd

Please sign in to comment.