The number 840047 (eight hundred forty thousand forty-seven) is written in Roman numerals as follows: DCCCXLXLVII