6000040 in words is written as :

Six Million Forty