9788 in words is written as :

Nine Thousand Seven Hundred and Eighty Eight