The number 900504 (nine hundred thousand five hundred four) is written in Roman numerals as follows: CMDIV