校验正浮点类型 >=0 @param param 参数 @return
(String param)
| 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 | * 校验数字类型 |