Convert between different units of measurement.