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