The number 9798 (nine thousand seven hundred ninety-eight) is written in Roman numerals as follows: IXDCCXCVIII