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