Oxidation number is the oxidation state of an element in a compound ascertained according to a set of rules formulated on the basis that the electrons in a covalent bond belong entirely to the more electronegative elements.
Oxidation number of Cl in KClO3 is +5.