The number 21640 (twenty-one thousand six hundred forty) is written in Roman numerals as follows: XXIDCXL