The number 10642 (ten thousand six hundred forty-two) is written in Roman numerals as follows: XDCXLII