The number 940879 (nine hundred forty thousand eight hundred seventy-nine) is written in Roman numerals as follows: CMXLDCCCLXXIX