The number 940866 (nine hundred forty thousand eight hundred sixty-six) is written in Roman numerals as follows: CMXLDCCCLXVI