The number 217942 (two hundred seventeen thousand nine hundred forty-two) is written in Roman numerals as follows: CCXVIICMXLII