The number 240387 (two hundred forty thousand three hundred eighty-seven) is written in Roman numerals as follows: CCXLCCCLXXXVII