The number 317678 (three hundred seventeen thousand six hundred seventy-eight) is written in Roman numerals as follows: CCCXVIIDCLXXVIII