public TO convert(FROM m,TO defaultValue,Object... args) throws HeraException{
		try {
			if(args.length == 0){
				return convertNumber(m,defaultValue);
			} else if(args.length == 1){
				return convertNumber(m,defaultValue,Boolean.valueOf(args[0].toString()));
			} else {
				throw new HeraException("未找到匹配的参数");
			}
		} catch (Exception e) {
			if(defaultValue != null){
				return defaultValue;
			}else{
				throw new HeraException("转换失败:"+e.getMessage());
			}
		}
		
	}