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