Oxidation number/state can be positive or negative, integer or fraction.
For example, Oxidation number of O in CO2 is -2 and that of C is +4
Valence number is always positive, and since it is the number of bonds formed by the atom, it is always an integer.