1.0.6 • Published 6 years ago

inksmallfrog-chinese-number v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

USAGE

npm install --save inksmallfrog-chinese-number
import {numberToChinese, chineseToNumber} from 'inksmallfrog-chinese-number';

const test_number = 200000;
const test_chinese = '二十万'

numberToChinese(test_number); //二十万
chineseToNumber(test_chinese); //200000

NOTES

This lib can only handle postive integer and can't give any error information!

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago