Quantity in words in delivery note print format

Hi all… I need help. I have one print format in which i have to fetch labour numbers. I was able to fetch numbers as a number but i want it in words. suppose the quantity is 100 i want it in words as Hundred.
Please Help.

Note: This is to certify that today Total numbers of Mid Day Meals for {% for i in doc.items %} {{i.qty}} {% endfor %} Labours has been received at our site for Registered/Unregistered Labours.

I used this script to fetch the number.