khmer-number-js
v1.0.4
Published
convert number to khmer number.
Downloads
36
Readme
khmer-number
Lib for convert Khmer number into Khmer words in JavaScript & Typescript.
yarn add khmer-number-js
import { Num2Word } from 'khmer-number-js'
console.log(Num2Word("1", ""))
// មួយ
console.log(Num2Word(12.05, " "))
// ដប់ ពីរ ចុច សូន្យ ប្រាំ
License
MIT
Reference and special thank to
- khmer-number by RathanakSreang
@invisal
for converting logic.