Skip to main content

This convert number to thai text lib

Project description

Number to Thai text

The tool is a convert number to thai text : Python 3.6+.


  • Convert number integer or float to Thai text.
  • Convert thai text to number.


  • Check version Python and PIP

  • Install lib : num-thai

  • Test lib in python shell


from num_thai.thainumbers import NumThai

num = NumThai()
text = num.NumberToTextThai(1111111111111111)

number = num.TextThaiToNumber("ลบสามสิบเอ็ดจุดแปดหก")

print("Text is ",text)

print("Number is ",number)


  • Support digit length 1 - 16 digit.
  • Support minus digit.
  • Support integer or float number.
  • Support thai text

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for num-thai, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size num_thai-0.0.5-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size num_thai-0.0.5.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page