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