rmb-x
v0.1.2
Published
人民币大写, 人民币金额大写, RMB, RMB Upper Case, Amount Of Money
Downloads
31
Readme
RMB-X
人民币大写, 人民币金额大写, RMB, RMB Upper Case, Amount Of Money
Installing
yarn add rmb-x # npm install rmb-x
Usage
const rmb = require('rmb-x');
const v1 = rmb(1.1); // '壹元壹角'
const v2 = rmb(4321009876543210); // '肆仟叁佰贰拾壹万零玖拾捌亿柒仟陆佰伍拾肆万叁仟贰佰壹拾元整'