Skip to content

Latest commit

 

History

History
72 lines (63 loc) · 3.36 KB

README.md

File metadata and controls

72 lines (63 loc) · 3.36 KB

Download/month Total Download

tested with jest

Demo / Example

Must Read

  • Checkout Test Cases in ./__test__ Before Implement
  • 101 ควรจะถูกอ่านอย่างไร ?
    • หนึ่งร้อยหนึ่งบาทถ้วน
      • Google Sheets
      • สัญญากู้เงินของธนาคาร* ลองมากู้ได้เลยครับ ถ้าไม่ใช่บอกผมด้วย
      • jojoee/bahttext
      • จะอ่านว่าเอ็ดเมื่อหลักสิบมีค่า เช่น สิบเอ็ด, ยี่สิบเอ็ด
    • หนึ่งร้อยเอ็ดบาทถ้วน
    • หนึ่งร้อยหนึ่งบาทถ้วน หรือ หนึ่งร้อยเอ็ดบาทถ้วน ก็ได้ ให้เข้าใจได้ตรงกัน

Beliefs

  1. Money in Thai Baht can be translate to word, vice versa
  2. Default Decimal places is 2 digits; 3+ digits are optional
  3. Support Negative Number as Other Baht JS Library
  4. All Synchronous function
  5. This Number System not working well with large numbers

Change V2

Next Update Coming Soon

  • 2.0.0 - ES6

Change V1

  • 1.4.3 - 1.4.5 - Refactor
  • 1.4.2 - add NEG
  • 1.3.3 - Update Version Thai Baht Text JS + add SEP
  • 1.2.1 - GoogleSheetsCellCharactersLimit
  • 1.2.0 - Dynamic เอ็ด
  • 1.1.7 - remove Googolplex
  • 1.1.3 - add LNBT
  • 1.1.1
    • Fix TB validation
    • BF is main function
    • ABT for dynamic type
  • 1.1.0 - TB Ready for Production?!
  • 1.0.9 - add TB (reverse BT)
  • 1.0.8 - add SatangNum
  • 1.0.6 - BT is main function

Test Regex

😊 Plz Consider