The number 940840 (nine hundred forty thousand eight hundred forty) is written in Roman numerals as follows: CMXLDCCCXL