The number 940862 (nine hundred forty thousand eight hundred sixty-two) is written in Roman numerals as follows: CMXLDCCCLXII