Interpret units in formulas