The number 840312 (eight hundred forty thousand three hundred twelve) is written in Roman numerals as follows: DCCCXLCCCXII