The number 840045 (eight hundred forty thousand forty-five) is written in Roman numerals as follows: DCCCXLXLV