The number 987823 (nine hundred eighty-seven thousand eight hundred twenty-three) is written in Roman numerals as follows: CMLXXXVIIDCCCXXIII