The number 987838 (nine hundred eighty-seven thousand eight hundred thirty-eight) is written in Roman numerals as follows: CMLXXXVIIDCCCXXXVIII