The number 987864 (nine hundred eighty-seven thousand eight hundred sixty-four) is written in Roman numerals as follows: CMLXXXVIIDCCCLXIV