combine quantity and unit into amount