The number 20940 (twenty thousand nine hundred forty) is written in Roman numerals as follows: XXCMXL