The number 21870 (twenty-one thousand eight hundred seventy) is written in Roman numerals as follows: XXIDCCCLXX