The number 842512 (eight hundred forty-two thousand five hundred twelve) is written in Roman numerals as follows: DCCCXLIIDXII