The number 940366 (nine hundred forty thousand three hundred sixty-six) is written in Roman numerals as follows: CMXLCCCLXVI