The number 240587 (two hundred forty thousand five hundred eighty-seven) is written in Roman numerals as follows: CCXLDLXXXVII