9000040 in words is written as :

Nine Million Forty