The number 840362 (eight hundred forty thousand three hundred sixty-two) is written in Roman numerals as follows: DCCCXLCCCLXII