The number 21788 (twenty-one thousand seven hundred eighty-eight) is written in Roman numerals as follows: XXIDCCLXXXVIII