The number 840838 (eight hundred forty thousand eight hundred thirty-eight) is written in Roman numerals as follows: DCCCXLDCCCXXXVIII