The number 23540 (twenty-three thousand five hundred forty) is written in Roman numerals as follows: XXIIIDXL