mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
!216 NumberUtil.equals(float num1, float num2) 注释不正确
Merge pull request !216 from GuoZG0328/v5-dev
This commit is contained in:
commit
556c728389
@ -1735,7 +1735,7 @@ public class NumberUtil {
|
||||
|
||||
/**
|
||||
* 比较大小,值相等 返回true<br>
|
||||
* 此方法通过调用{@link Double#doubleToLongBits(double)}方法来判断是否相等<br>
|
||||
* 此方法通过调用{@link Float#floatToIntBits(float)}方法来判断是否相等<br>
|
||||
* 此方法判断值相等时忽略精度的,即0.00 == 0
|
||||
*
|
||||
* @param num1 数字1
|
||||
|
Loading…
x
Reference in New Issue
Block a user