The number 842012 (eight hundred forty-two thousand twelve) is written in Roman numerals as follows: DCCCXLIIXII