The number 940007 (nine hundred forty thousand seven) is written in Roman numerals as follows: CMXLVII