The number 315842 (three hundred fifteen thousand eight hundred forty-two) is written in Roman numerals as follows: CCCXVDCCCXLII