The number 840057 (eight hundred forty thousand fifty-seven) is written in Roman numerals as follows: DCCCXLLVII