Cast variables to ints and floats as appropriate