The number 940518 (nine hundred forty thousand five hundred eighteen) is written in Roman numerals as follows: CMXLDXVIII