The number 940039 (nine hundred forty thousand thirty-nine) is written in Roman numerals as follows: CMXLXXXIX