In medieval texts and some early printed books, the numerals are written in lower case letters and u was frequently substituted for v. In the final position of the numeral, j could be used instead of i. So 18 could be written xuiij rather than XVIII. These substitutions are particularly found in italic fonts. Me again this bit explains so your xiiij is 14th printed that way instead of xiiii