The number 840578 (eight hundred forty thousand five hundred seventy-eight) is written in Roman numerals as follows: DCCCXLDLXXVIII