The number 871238 (eight hundred seventy-one thousand two hundred thirty-eight) is written in Roman numerals as follows: DCCCLXXICCXXXVIII