3040004 in words is written as :

Three Million Forty Thousand Four