The number 20942 (twenty thousand nine hundred forty-two) is written in Roman numerals as follows: XXCMXLII