Package Exports
- bahttext
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bahttext) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
bahttext
เปลี่ยนตัวเลข เป็นคำอ่านภาษาไทย, โมดูลตัวนี้ได้ทำการทดสอบกับ Microsoft Office's BAHTTEXT function, Demo page เรียบร้อยแล้ว
ติดตั้ง
// ติดตั้งด้วย CommonJS
npm install bahttext
const { bahttext } = require('bahttext')
// ติดตั้งด้วย Bower
bower install bahttext
<script src="bower_components/bahttext/src/index.js"></script>
// ติดตั้งด้วย githack
<script src="https://raw.githack.com/jojoee/bahttext/master/src/index.js"></script>
// ติดตั้งด้วย ES6
npm install bahttext
import { bahttext } from "bahttext"ตัวอย่างการใช้งาน
// หกหมื่นสามพันหนึ่งร้อยสี่สิบเจ็ดบาทแปดสิบเก้าสตางค์
bahttext(63147.89)ฟีเจอร์
- สามารถใช้งานได้ทุก เบราว์เซอร์
- สามารถใช้งานได้ตั้งแต่ Node.js version 6-12
- 0 Dependencies
- ทำการทดสอบแบบ unit test
- ทดสอบบนเบราว์เซอร์ ในแต่ละ เวอร์ชั่น
- ลดการซ้ำซ้อนของการเขียน ระหว่าง code และ ไฟล์ csv ในการทำการทดสอบ
- หน้าตัวอย่างการใช้งาน
- สนับสนุนการใช้งานกับตัวเลขติดลบ
- แก้ไข semantic-release
อ้างอิง
- Microsoft Office's BAHTTEXT function
- แรงบัลดาลใจจาก earthchie/BAHTTEXT.js