The number 940166 (nine hundred forty thousand one hundred sixty-six) is written in Roman numerals as follows: CMXLCLXVI