The number 842798 (eight hundred forty-two thousand seven hundred ninety-eight) is written in Roman numerals as follows: DCCCXLIIDCCXCVIII