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