c2nmoney

1.0.3 • Public • Published
c2nmoney

将中文金额转换为数字。

安装

npm install c2nmoney

使用

const c2nmoney = require('c2nmoney');
const c2n = c2nmoney.c2n;

let cM = "两百";
let nM = c2n(cM).n;//{code:0, c:"两百",n:200}

协议

ISC

更新内容

  1. 更改README.md中的“使用”中错误
  2. 增加npm包的关键字
  3. 修改目录结构(增加lib文件夹)

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i c2nmoney

      Weekly Downloads

      3

      Version

      1.0.3

      License

      ISC

      Unpacked Size

      5.34 kB

      Total Files

      6

      Last publish

      Collaborators

      • qieb