The number 840887 (eight hundred forty thousand eight hundred eighty-seven) is written in Roman numerals as follows: DCCCXLDCCCLXXXVII