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