The number 998842 (nine hundred ninety-eight thousand eight hundred forty-two) is written in Roman numerals as follows: CMXCVIIIDCCCXLII