The number 38940 (thirty-eight thousand nine hundred forty) is written in Roman numerals as follows: XXXVIIICMXL