The number 840788 (eight hundred forty thousand seven hundred eighty-eight) is written in Roman numerals as follows: DCCCXLDCCLXXXVIII