The number 979842 (nine hundred seventy-nine thousand eight hundred forty-two) is written in Roman numerals as follows: CMLXXIXDCCCXLII