The number 840056 (eight hundred forty thousand fifty-six) is written in Roman numerals as follows: DCCCXLLVI