The number 940798 (nine hundred forty thousand seven hundred ninety-eight) is written in Roman numerals as follows: CMXLDCCXCVIII