19788 in words is written as :

Nineteen Thousand Seven Hundred and Eighty Eight