Bahttext
Tool to convert currency number to Thai text number Support Python2 and Python3
Installation
pip install bahttext
Usage
>>> from bahttext import bahttext
>>> number = 12345.21
>>> print bahttext(number)
หนึ่งหมื่นสà¸à¸‡à¸žà¸±à¸™à¸ªà¸²à¸¡à¸£à¹‰à¸à¸¢à¸ªà¸µà¹ˆà¸ªà¸´à¸šà¸«à¹‰à¸²à¸šà¸²à¸—ยี่สิบเà¸à¹‡à¸”สตางค์
>>>