The number 240517 (two hundred forty thousand five hundred seventeen) is written in Roman numerals as follows: CCXLDXVII