The number 40645 (forty thousand six hundred forty-five) is written in Roman numerals as follows: XLDCXLV