The number 940787 (nine hundred forty thousand seven hundred eighty-seven) is written in Roman numerals as follows: CMXLDCCLXXXVII