The number 21940 (twenty-one thousand nine hundred forty) is written in Roman numerals as follows: XXICMXL