The number 239987 (two hundred thirty-nine thousand nine hundred eighty-seven) is written in Roman numerals as follows: CCXXXIXCMLXXXVII