The number 840864 (eight hundred forty thousand eight hundred sixty-four) is written in Roman numerals as follows: DCCCXLDCCCLXIV