The number 312942 (three hundred twelve thousand nine hundred forty-two) is written in Roman numerals as follows: CCCXIICMXLII