The number 40999 (forty thousand nine hundred ninety-nine) is written in Roman numerals as follows: XLCMXCIX