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