10398877 in words is written as :

Ten Million Thousand Eight Hundred and Seventy Seven