Only cardinals are regarded as numerals in German, as they do not inflect. Ordinal numbers are regarded as adjectives. Therefore, every numeral carries the value card automatically (as encoded in the type hierarchy).