parse ints and floats