The number 940040 (nine hundred forty thousand forty) is written in Roman numerals as follows: CMXLXL