20864 in words is written as :

Twenty Thousand Eight Hundred and Sixty Four