The number 317642 (three hundred seventeen thousand six hundred forty-two) is written in Roman numerals as follows: CCCXVIIDCXLII