mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add OshiUtil
This commit is contained in:
@@ -1043,7 +1043,15 @@ public class NumberUtil {
|
||||
|
||||
// ------------------------------------------------------------------------------------------- isXXX
|
||||
/**
|
||||
* 是否为数字
|
||||
* 是否为数字,支持包括:
|
||||
*
|
||||
* <pre>
|
||||
* 1、10进制
|
||||
* 2、16进制数字(0x开头)
|
||||
* 3、科学计数法形式(1234E3)
|
||||
* 4、类型标识形式(123D)
|
||||
* 5、正负数标识形式(+123、-234)
|
||||
* </pre>
|
||||
*
|
||||
* @param str 字符串值
|
||||
* @return 是否为数字
|
||||
|
Reference in New Issue
Block a user