6400023 in words is written as :

Six Million Thousand Twenty Three