The number 987012 (nine hundred eighty-seven thousand twelve) is written in Roman numerals as follows: CMLXXXVIIXII