The number 840054 (eight hundred forty thousand fifty-four) is written in Roman numerals as follows: DCCCXLLIV