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