The number 940731 (nine hundred forty thousand seven hundred thirty-one) is written in Roman numerals as follows: CMXLDCCXXXI