/**
* 判断字符串是否数值
* @param str
* @return true:是数值 ;false:不是数值
* @author:WD_SUHUAFU
*/
private boolean isNumber(String str)
{
Pattern pattern = Pattern.compile("^[0-9]+(\\.[0-9]*)?$");
Matcher match=pattern.matcher(str);
return match.matches();
}