public String convertHarga(int harga){ // jadi tar kalo 50000 jadi 50.000 dst...
		//	harga = 444;
			int ribuan[] = new int[10];
			int counter=0;
			String temphasil="";
			
			while(harga/1000!=0){
				ribuan[counter] = harga%1000;
				counter++;
				//temphasil = temphasil + ribuan+".";
				
				harga = harga /1000; // dicari lagi sisanya
			}
			//dimasukin ke string
			temphasil = harga + ".";
			
			for (int i=counter-1;i>=0;i--){
				//udah sisa ratusan
				if(i!=0){
					if (ribuan[i]==0){//sisa harga 0
						temphasil = temphasil + "000"+".";
					}else if (ribuan[i]<10){ // sisa harga satuan
						temphasil = temphasil + "00"+ribuan[i]+".";
					}else if (ribuan[i]<100){ //sisa harga puluhan
						temphasil = temphasil +"0"+ ribuan[i]+".";
					}else{//sisa harga ratusan
						temphasil = temphasil + ribuan[i]+".";
					}
				}else{
					if (ribuan[i]==0){//sisa harga 0
						temphasil = temphasil + "000";
					}else if (ribuan[i]<10){ // sisa harga satuan
						temphasil = temphasil + "00"+ribuan[i];
					}else if (ribuan[i]<100){ //sisa harga puluhan
						temphasil = temphasil +"0"+ ribuan[i];
					}else{//sisa harga ratusan
						temphasil = temphasil + ribuan[i];
					}
				}
				
			}
			return temphasil;
	}