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