The number 842954 (eight hundred forty-two thousand nine hundred fifty-four) is written in Roman numerals as follows: DCCCXLIICMLIV