The number 940873 (nine hundred forty thousand eight hundred seventy-three) is written in Roman numerals as follows: CMXLDCCCLXXIII