The number 940642 (nine hundred forty thousand six hundred forty-two) is written in Roman numerals as follows: CMXLDCXLII