Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diyhi/bbs
/ isDouble
Method
isDouble
src/main/java/cms/utils/Verification.java:97–102 ·
view source on GitHub ↗
校验浮点类型 @param param 参数 @return
(String param)
Source
from the content-addressed store, hash-verified
95
* @
return
96
*/
97
public
static
boolean isDouble(String param){
98
if
(DOUBLE.matcher(param).matches()) {
99
return
true;
100
}
101
return
false;
102
}
103
104
/**
105
* 校验正浮点类型 >=0
Callers
nothing calls this directly
Calls
1
matches
Method · 0.65
Tested by
no test coverage detected