The number 240331 (two hundred forty thousand three hundred thirty-one) is written in Roman numerals as follows: CCXLCCCXXXI