标签:java strong cti io python sql
java
	public boolean isNumeric(String str){ 
		 Pattern pattern = Pattern.compile("^-?[0-9]+\\.?[0-9]+"); 
		   Matcher isNum = pattern.matcher(str);
		   if( !isNum.matches() ){
		       return false; 
		   } 
		   return true; 
		}def isNum(value):
        try:
                int(value) + 1
        except:
                return False
        else:
                return True
create or replace function func_is_number( sx in varchar) return int is x number; begin x:=to_number(sx); return 1; exception when others then return 0; end;
java python oracle判断字符串是否为数字的函数,布布扣,bubuko.com
java python oracle判断字符串是否为数字的函数
标签:java strong cti io python sql
原文地址:http://blog.csdn.net/u011750989/article/details/37594653