The number 317898 (three hundred seventeen thousand eight hundred ninety-eight) is written in Roman numerals as follows: CCCXVIIDCCCXCVIII