Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 401 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 401 Bytes

Bahttext

Tool to convert currency number to Thai text number

Installation

pip install git+https://github.com/lifez/bahttext

Usage

>>> from bahttext import bahttext
>>> number = 12345.21
>>> print bahttext(number)
หนึ่งหมื่นสองพันสามร้อยสี่สิบห้าบาทยี่สิบเอ็ดสตางค์
>>>