The number 987945 (nine hundred eighty-seven thousand nine hundred forty-five) is written in Roman numerals as follows: CMLXXXVIICMXLV