public static int round(double num)
	{
		double precision = 0.1;		//0 < precision < 0.5
		int rounded = 0;
		if((int)(num + precision) != (int)num)
			rounded = (int)(num + precision);
		else if((int)(num - precision) != (int)num)
			rounded = (int)num;
		return rounded;
	}