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