The number 840662 (eight hundred forty thousand six hundred sixty-two) is written in Roman numerals as follows: DCCCXLDCLXII