The number 987058 (nine hundred eighty-seven thousand fifty-eight) is written in Roman numerals as follows: CMLXXXVIILVIII