Change OML measurements from string to int