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