The number 997040 (nine hundred ninety-seven thousand forty) is written in Roman numerals as follows: CMXCVIIXL