I'm having a module to convert numbers into words, but my module is not working.

What may be the reason for this?

Any help on this would be kindly appreciated.

Thanks in advance.

I've attached the database for your reference.