1.0.6 • Published 7 years ago

inksmallfrog-chinese-number v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
7 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

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago