6227 in words is written as :

Six Thousand Two Hundred and Twenty Seven