10797 in words is written as :

Ten Thousand Seven Hundred and Ninety Seven