The number 312718 (three hundred twelve thousand seven hundred eighteen) is written in Roman numerals as follows: CCCXIIDCCXVIII