private String specialDeal(String flag, String source)
	{
		if (flag.equals("ratio"))
		{
			int index = source.indexOf(".");
			if (index != -1)
				source = source.substring(0, index);
		}
		else if (flag.equals("trade"))
		{
			int index = source.indexOf(".");
			if (index != -1)
				source = source.substring(0, index + 3);
		}
		return source;
	}