The number 104787 (one hundred four thousand seven hundred eighty-seven) is written in Roman numerals as follows: CIVDCCLXXXVII