The number 840798 (eight hundred forty thousand seven hundred ninety-eight) is written in Roman numerals as follows: DCCCXLDCCXCVIII