The number 900642 (nine hundred thousand six hundred forty-two) is written in Roman numerals as follows: CMDCXLII