The number 878542 (eight hundred seventy-eight thousand five hundred forty-two) is written in Roman numerals as follows: DCCCLXXVIIIDXLII