The number 940582 (nine hundred forty thousand five hundred eighty-two) is written in Roman numerals as follows: CMXLDLXXXII