The number 38942 (thirty-eight thousand nine hundred forty-two) is written in Roman numerals as follows: XXXVIIICMXLII