The number 878840 (eight hundred seventy-eight thousand eight hundred forty) is written in Roman numerals as follows: DCCCLXXVIIIDCCCXL