6401015 in words is written as :

Six Million Thousand Fifteen