+
Skip to content

boon4681/numbaht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

numbaht

numbaht license-svg

Convert Thai Baht as Text to Number as Text

Usage

  • Install with npm or yarn

    npm install numbaht
    # or
    yarn add numbaht
  • Example

    import { convert } from 'numbaht';
    
    console.log(convert("สิบห้า")); // 15
    console.log(convert("หนึ่งหมื่นหกพันห้าร้อยสี่สิบห้าล้านหกแสนห้าหมื่นแปดพันแปดร้อยหกสิบสี่")); // 16545658864

Todo list

  • support สตางค์
  • support จำนวนติดลบ
  • support language correction

License

MIT

About

Convert Thai Baht as Text to Number as Text

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载