MCPcopy Create free account
hub / github.com/diyhi/bbs / isPositiveDouble

Method isPositiveDouble

src/main/java/cms/utils/Verification.java:109–114  ·  view source on GitHub ↗

校验正浮点类型 >=0 @param param 参数 @return

(String param)

Source from the content-addressed store, hash-verified

107 * @return
108 */
109 public static boolean isPositiveDouble(String param){
110 if (DOUBLE_NEGATIVE.matcher(param).matches()) {
111 return true;
112 }
113 return false;
114 }
115
116 /**
117 * 校验数字类型

Callers

nothing calls this directly

Calls 1

matchesMethod · 0.65

Tested by

no test coverage detected