The number 45787 (forty-five thousand seven hundred eighty-seven) is written in Roman numerals as follows: XLVDCCLXXXVII