The number 318942 (three hundred eighteen thousand nine hundred forty-two) is written in Roman numerals as follows: CCCXVIIICMXLII