public static String divide(int a, int b) {
		int x=a/b;
		int y=a%b;
		StringBuilder s=new StringBuilder();
		int py=y;
		do {
			while (y<b)
				y*=10;
			s.append(y/b);
			y%=b;
		} while (y!=0&&y!=py);
		if (y==0)
			return Integer.toString(x)+"."+s.toString();
		else 
			return Integer.toString(x)+".("+s.toString()+")";
	}