inksmallfrog-chinese-number
v1.0.6
Published
A number converter for Chinese
Downloads
8
Readme
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!