46787 in words is written as :

Thousand Seven Hundred and Eighty Seven