The number 217040 (two hundred seventeen thousand forty) is written in Roman numerals as follows: CCXVIIXL