The number 217840 (two hundred seventeen thousand eight hundred forty) is written in Roman numerals as follows: CCXVIIDCCCXL