The number 312742 (three hundred twelve thousand seven hundred forty-two) is written in Roman numerals as follows: CCCXIIDCCXLII