18940 in words is written as :

Eighteen Thousand Nine Hundred and Forty