The number 940887 (nine hundred forty thousand eight hundred eighty-seven) is written in Roman numerals as follows: CMXLDCCCLXXXVII