The number 940018 (nine hundred forty thousand eighteen) is written in Roman numerals as follows: CMXLXVIII