90789 in words is written as :

Ninety Thousand Seven Hundred and Eighty Nine