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