20540 in words is written as :

Twenty Thousand Five Hundred and Forty