mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix bug
This commit is contained in:
@@ -1281,11 +1281,10 @@ public class NumberUtil {
|
||||
}
|
||||
try {
|
||||
Double.parseDouble(s);
|
||||
return s.contains(".");
|
||||
} catch (NumberFormatException ignore) {
|
||||
// ignore
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
return s.contains(".");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user