The number 31728 (thirty-one thousand seven hundred twenty-eight) is written in Roman numerals as follows: XXXIDCCXXVIII