The number 996317 (nine hundred ninety-six thousand three hundred seventeen) is written in Roman numerals as follows: CMXCVICCCXVII