The number 987840 (nine hundred eighty-seven thousand eight hundred forty) is written in Roman numerals as follows: CMLXXXVIIDCCCXL