The number 30640 (thirty thousand six hundred forty) is written in Roman numerals as follows: XXXDCXL