The number 940331 (nine hundred forty thousand three hundred thirty-one) is written in Roman numerals as follows: CMXLCCCXXXI