The number 40580 (forty thousand five hundred eighty) is written in Roman numerals as follows: XLDLXXX