public float getFactor(){
		switch(this){
		case grams:
			return 1;
		case kilograms:
			return 1000;
		case ounces:
			return .03527396211f;
		case pounds:
			return 453.59233f;
		case fluidOunces:
			return 1;
		case pints:
			return 16;
		case quarts:
			return 32;
		case gallons:
			return 128;
		case liters:
			return 33.814022702f;
		default:
			return -1;
		}
		
		
	}