The number 940865 (nine hundred forty thousand eight hundred sixty-five) is written in Roman numerals as follows: CMXLDCCCLXV