The number 840642 (eight hundred forty thousand six hundred forty-two) is written in Roman numerals as follows: DCCCXLDCXLII