mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +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