@wcxi/money-to-chinese
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

money to chinese

JavaScript function for converting amount to Chinese uppercase.

Installation

npm install moneyToChinese

Usage

import moneyToChinese form 'moneyToChinese';

moneyToChinese(100.15);
//⇒ "壹佰元壹角伍分"

moneyToChinese('100.15');
//⇒ "壹佰元壹角伍分"

License

MIT © Jie Wang

Package Sidebar

Install

npm i @wcxi/money-to-chinese

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

10.6 kB

Total Files

7

Last publish

Collaborators

  • wangchuxi