Correct the unit in a text field.