The number 997838 (nine hundred ninety-seven thousand eight hundred thirty-eight) is written in Roman numerals as follows: CMXCVIIDCCCXXXVIII