900000797 in words is written as :

Million Seven Hundred and Ninety Seven