parsing floats and ints