The number 938040 (nine hundred thirty-eight thousand forty) is written in Roman numerals as follows: CMXXXVIIIXL