The number 987027 (nine hundred eighty-seven thousand twenty-seven) is written in Roman numerals as follows: CMLXXXVIIXXVII