The number 838874 (eight hundred thirty-eight thousand eight hundred seventy-four) is written in Roman numerals as follows: DCCCXXXVIIIDCCCLXXIV