The number 317874 (three hundred seventeen thousand eight hundred seventy-four) is written in Roman numerals as follows: CCCXVIIDCCCLXXIV