The number 940365 (nine hundred forty thousand three hundred sixty-five) is written in Roman numerals as follows: CMXLCCCLXV