To print in words the total amount of an invoice etc.. refer http://simpleinvoices.org/forum/discussion/1236/numbers-to-words/#Comment_6738