9900171 in words is written as :

Nine Million Thousand One Hundred and Seventy One