The number 138987 (one hundred thirty-eight thousand nine hundred eighty-seven) is written in Roman numerals as follows: CXXXVIIICMLXXXVII