The number 878842 (eight hundred seventy-eight thousand eight hundred forty-two) is written in Roman numerals as follows: DCCCLXXVIIIDCCCXLII