The number 940878 (nine hundred forty thousand eight hundred seventy-eight) is written in Roman numerals as follows: CMXLDCCCLXXVIII