The number 312804 (three hundred twelve thousand eight hundred four) is written in Roman numerals as follows: CCCXIIDCCCIV