The number 21240 (twenty-one thousand two hundred forty) is written in Roman numerals as follows: XXICCXL