The number 20794 (twenty thousand seven hundred ninety-four) is written in Roman numerals as follows: XXDCCXCIV