The number 40245 (forty thousand two hundred forty-five) is written in Roman numerals as follows: XLCCXLV