The number 27940 (twenty-seven thousand nine hundred forty) is written in Roman numerals as follows: XXVIICMXL